@@ -125,7 +125,7 @@ describe('loader', () => {
125
125
expect ( map ) . to . exist ;
126
126
127
127
// es2015 statements remain
128
- expect ( code ) . to . contain ( `import { hello } from " ./utils" ;` ) ;
128
+ expect ( code ) . to . contain ( `import { hello } from ' ./utils' ;` ) ;
129
129
} )
130
130
) ;
131
131
@@ -135,7 +135,7 @@ describe('loader', () => {
135
135
expect ( err ) . not . to . exist ;
136
136
137
137
// es2015 statements remain
138
- expect ( code ) . to . contain ( `import Nested from " ./nested" ;` ) ;
138
+ expect ( code ) . to . contain ( `import Nested from ' ./nested' ;` ) ;
139
139
140
140
expect ( code ) . to . exist ;
141
141
expect ( map ) . to . exist ;
@@ -149,7 +149,7 @@ describe('loader', () => {
149
149
'should configure css (default)' ,
150
150
testLoader ( 'test/fixtures/css.html' , function ( err , code , map ) {
151
151
expect ( err ) . not . to . exist ;
152
- expect ( code ) . to . contain ( 'function add_css()' ) ;
152
+ expect ( code ) . to . contain ( 'function add_css(target )' ) ;
153
153
} )
154
154
) ;
155
155
@@ -159,7 +159,7 @@ describe('loader', () => {
159
159
'test/fixtures/css.html' ,
160
160
function ( err , code , map ) {
161
161
expect ( err ) . not . to . exist ;
162
- expect ( code ) . not . to . contain ( 'function add_css()' ) ;
162
+ expect ( code ) . not . to . contain ( 'function add_css(target )' ) ;
163
163
} ,
164
164
{ compilerOptions : { css : false } }
165
165
)
0 commit comments