@@ -17,8 +17,7 @@ describe('addEntries util', () => {
1717
1818 expect ( webpackOptions . entry . length ) . toEqual ( 2 ) ;
1919 expect (
20- normalize ( webpackOptions . entry [ 0 ] ) . indexOf ( 'client/default/index.js?' ) !==
21- - 1
20+ normalize ( webpackOptions . entry [ 0 ] ) . indexOf ( 'client/index.js?' ) !== - 1
2221 ) . toBeTruthy ( ) ;
2322 expect ( normalize ( webpackOptions . entry [ 1 ] ) ) . toEqual ( './foo.js' ) ;
2423 } ) ;
@@ -34,8 +33,7 @@ describe('addEntries util', () => {
3433
3534 expect ( webpackOptions . entry . length ) . toEqual ( 3 ) ;
3635 expect (
37- normalize ( webpackOptions . entry [ 0 ] ) . indexOf ( 'client/default/index.js?' ) !==
38- - 1
36+ normalize ( webpackOptions . entry [ 0 ] ) . indexOf ( 'client/index.js?' ) !== - 1
3937 ) . toBeTruthy ( ) ;
4038 expect ( webpackOptions . entry [ 1 ] ) . toEqual ( './foo.js' ) ;
4139 expect ( webpackOptions . entry [ 2 ] ) . toEqual ( './bar.js' ) ;
@@ -56,9 +54,7 @@ describe('addEntries util', () => {
5654 expect ( webpackOptions . entry . foo . length ) . toEqual ( 2 ) ;
5755
5856 expect (
59- normalize ( webpackOptions . entry . foo [ 0 ] ) . indexOf (
60- 'client/default/index.js?'
61- ) !== - 1
57+ normalize ( webpackOptions . entry . foo [ 0 ] ) . indexOf ( 'client/index.js?' ) !== - 1
6258 ) . toBeTruthy ( ) ;
6359 expect ( webpackOptions . entry . foo [ 1 ] ) . toEqual ( './foo.js' ) ;
6460 expect ( webpackOptions . entry . bar [ 1 ] ) . toEqual ( './bar.js' ) ;
@@ -296,9 +292,7 @@ describe('addEntries util', () => {
296292
297293 if ( expectInline ) {
298294 expect (
299- normalize ( webpackOptions . entry [ 0 ] ) . indexOf (
300- 'client/default/index.js?'
301- ) !== - 1
295+ normalize ( webpackOptions . entry [ 0 ] ) . indexOf ( 'client/index.js?' ) !== - 1
302296 ) . toBeTruthy ( ) ;
303297 }
304298
@@ -330,9 +324,7 @@ describe('addEntries util', () => {
330324
331325 if ( expectInline ) {
332326 expect (
333- normalize ( webpackOptions . entry [ 0 ] ) . indexOf (
334- 'client/default/index.js?'
335- ) !== - 1
327+ normalize ( webpackOptions . entry [ 0 ] ) . indexOf ( 'client/index.js?' ) !== - 1
336328 ) . toBeTruthy ( ) ;
337329 }
338330
@@ -388,9 +380,7 @@ describe('addEntries util', () => {
388380 expect ( webWebpackOptions . entry . length ) . toEqual ( 2 ) ;
389381
390382 expect (
391- normalize ( webWebpackOptions . entry [ 0 ] ) . indexOf (
392- 'client/default/index.js?'
393- ) !== - 1
383+ normalize ( webWebpackOptions . entry [ 0 ] ) . indexOf ( 'client/index.js?' ) !== - 1
394384 ) . toBeTruthy ( ) ;
395385
396386 expect ( normalize ( webWebpackOptions . entry [ 1 ] ) ) . toEqual ( './foo.js' ) ;
0 commit comments