File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,11 @@ test(t =>
175
175
'./numberFolder' : './folder' ,
176
176
} ) ] ,
177
177
} ) . then ( stats => {
178
- t . is ( stats . modules [ 0 ] . id . endsWith ( '/files/nonAliased.js' ) , true ) ;
179
- t . is ( stats . modules [ 1 ] . id . endsWith ( '/files/aliasMe.js' ) , true ) ;
180
- t . is ( stats . modules [ 2 ] . id . endsWith ( '/files/localAliasMe.js' ) , true ) ;
181
- t . is ( stats . modules [ 3 ] . id . endsWith ( '/files/folder/anotherNumber.js' ) , true ) ;
182
- t . is ( stats . modules [ 4 ] . id . endsWith ( '/files/index.js' ) , true ) ;
178
+ t . is ( stats . modules [ 0 ] . id . endsWith ( path . normalize ( '/files/nonAliased.js' ) ) , true ) ;
179
+ t . is ( stats . modules [ 1 ] . id . endsWith ( path . normalize ( '/files/aliasMe.js' ) ) , true ) ;
180
+ t . is ( stats . modules [ 2 ] . id . endsWith ( path . normalize ( '/files/localAliasMe.js' ) ) , true ) ;
181
+ t . is ( stats . modules [ 3 ] . id . endsWith ( path . normalize ( '/files/folder/anotherNumber.js' ) ) , true ) ;
182
+ t . is ( stats . modules [ 4 ] . id . endsWith ( path . normalize ( '/files/index.js' ) ) , true ) ;
183
183
t . is ( stats . modules . length , 5 ) ;
184
184
} )
185
185
) ;
You can’t perform that action at this time.
0 commit comments