@@ -57,7 +57,7 @@ describe("API", () => {
57
57
58
58
expect ( process . env . WEBPACK_SERVE ) . toBe ( true ) ;
59
59
60
- const response = await page . goto ( `http://127.0.0.1:${ port } /main ` , {
60
+ const response = await page . goto ( `http://127.0.0.1:${ port } /` , {
61
61
waitUntil : "networkidle0" ,
62
62
} ) ;
63
63
@@ -91,7 +91,7 @@ describe("API", () => {
91
91
pageErrors . push ( error ) ;
92
92
} ) ;
93
93
94
- await page . goto ( `http://127.0.0.1:${ port } /main ` , {
94
+ await page . goto ( `http://127.0.0.1:${ port } /` , {
95
95
waitUntil : "networkidle0" ,
96
96
} ) ;
97
97
@@ -127,7 +127,7 @@ describe("API", () => {
127
127
pageErrors . push ( error ) ;
128
128
} ) ;
129
129
130
- await page . goto ( `http://127.0.0.1:${ port } /main ` , {
130
+ await page . goto ( `http://127.0.0.1:${ port } /` , {
131
131
waitUntil : "networkidle0" ,
132
132
} ) ;
133
133
@@ -197,7 +197,7 @@ describe("API", () => {
197
197
pageErrors . push ( error ) ;
198
198
} ) ;
199
199
200
- await page . goto ( `http://127.0.0.1:${ port } /main ` , {
200
+ await page . goto ( `http://127.0.0.1:${ port } /` , {
201
201
waitUntil : "networkidle0" ,
202
202
} ) ;
203
203
@@ -229,7 +229,7 @@ describe("API", () => {
229
229
firstPageErrors . push ( error ) ;
230
230
} ) ;
231
231
232
- await firstPage . goto ( `http://127.0.0.1:${ port } /main ` , {
232
+ await firstPage . goto ( `http://127.0.0.1:${ port } /` , {
233
233
waitUntil : "networkidle0" ,
234
234
} ) ;
235
235
@@ -254,7 +254,7 @@ describe("API", () => {
254
254
secondPageErrors . push ( error ) ;
255
255
} ) ;
256
256
257
- await secondPage . goto ( `http://127.0.0.1:${ port } /main ` , {
257
+ await secondPage . goto ( `http://127.0.0.1:${ port } /` , {
258
258
waitUntil : "networkidle0" ,
259
259
} ) ;
260
260
@@ -300,7 +300,7 @@ describe("API", () => {
300
300
pageErrors . push ( error ) ;
301
301
} ) ;
302
302
303
- await page . goto ( `http://127.0.0.1:${ port } /main ` , {
303
+ await page . goto ( `http://127.0.0.1:${ port } /` , {
304
304
waitUntil : "networkidle0" ,
305
305
} ) ;
306
306
@@ -366,7 +366,7 @@ describe("API", () => {
366
366
pageErrors . push ( error ) ;
367
367
} ) ;
368
368
369
- await page . goto ( `http://127.0.0.1:${ port } /main ` , {
369
+ await page . goto ( `http://127.0.0.1:${ port } /` , {
370
370
waitUntil : "networkidle0" ,
371
371
} ) ;
372
372
@@ -416,7 +416,7 @@ describe("API", () => {
416
416
pageErrors . push ( error ) ;
417
417
} ) ;
418
418
419
- await page . goto ( `http://127.0.0.1:${ port } /main ` , {
419
+ await page . goto ( `http://127.0.0.1:${ port } /` , {
420
420
waitUntil : "networkidle0" ,
421
421
} ) ;
422
422
@@ -454,7 +454,7 @@ describe("API", () => {
454
454
pageErrors . push ( error ) ;
455
455
} ) ;
456
456
457
- await page . goto ( `http://127.0.0.1:${ port } /main ` , {
457
+ await page . goto ( `http://127.0.0.1:${ port } /` , {
458
458
waitUntil : "networkidle0" ,
459
459
} ) ;
460
460
@@ -509,7 +509,7 @@ describe("API", () => {
509
509
510
510
expect ( server . middleware . context . callbacks . length ) . toEqual ( 1 ) ;
511
511
512
- const response = await page . goto ( `http://127.0.0.1:${ port } /main ` , {
512
+ const response = await page . goto ( `http://127.0.0.1:${ port } /` , {
513
513
waitUntil : "networkidle0" ,
514
514
} ) ;
515
515
@@ -528,7 +528,7 @@ describe("API", () => {
528
528
529
529
expect ( server . middleware . context . callbacks [ 0 ] ) . toBe ( callback ) ;
530
530
531
- const response = await page . goto ( `http://127.0.0.1:${ port } /main ` , {
531
+ const response = await page . goto ( `http://127.0.0.1:${ port } /` , {
532
532
waitUntil : "networkidle0" ,
533
533
} ) ;
534
534
@@ -628,12 +628,9 @@ describe("API", () => {
628
628
pageErrors . push ( error ) ;
629
629
} ) ;
630
630
631
- const response = await page . goto (
632
- `http://127.0.0.1:${ devServerPort } /main` ,
633
- {
634
- waitUntil : "networkidle0" ,
635
- }
636
- ) ;
631
+ const response = await page . goto ( `http://127.0.0.1:${ devServerPort } /` , {
632
+ waitUntil : "networkidle0" ,
633
+ } ) ;
637
634
638
635
expect ( response . status ( ) ) . toMatchSnapshot ( "response status" ) ;
639
636
@@ -671,12 +668,9 @@ describe("API", () => {
671
668
pageErrors . push ( error ) ;
672
669
} ) ;
673
670
674
- const response = await page . goto (
675
- `http://127.0.0.1:${ devServerPort } /main` ,
676
- {
677
- waitUntil : "networkidle0" ,
678
- }
679
- ) ;
671
+ const response = await page . goto ( `http://127.0.0.1:${ devServerPort } /` , {
672
+ waitUntil : "networkidle0" ,
673
+ } ) ;
680
674
681
675
expect ( response . status ( ) ) . toMatchSnapshot ( "response status" ) ;
682
676
@@ -713,12 +707,9 @@ describe("API", () => {
713
707
pageErrors . push ( error ) ;
714
708
} ) ;
715
709
716
- const response = await page . goto (
717
- `http://127.0.0.1:${ devServerPort } /main` ,
718
- {
719
- waitUntil : "networkidle0" ,
720
- }
721
- ) ;
710
+ const response = await page . goto ( `http://127.0.0.1:${ devServerPort } /` , {
711
+ waitUntil : "networkidle0" ,
712
+ } ) ;
722
713
723
714
expect ( response . status ( ) ) . toMatchSnapshot ( "response status" ) ;
724
715
@@ -755,12 +746,9 @@ describe("API", () => {
755
746
pageErrors . push ( error ) ;
756
747
} ) ;
757
748
758
- const response = await page . goto (
759
- `http://127.0.0.1:${ devServerPort } /main` ,
760
- {
761
- waitUntil : "networkidle0" ,
762
- }
763
- ) ;
749
+ const response = await page . goto ( `http://127.0.0.1:${ devServerPort } /` , {
750
+ waitUntil : "networkidle0" ,
751
+ } ) ;
764
752
765
753
expect ( response . status ( ) ) . toMatchSnapshot ( "response status" ) ;
766
754
@@ -797,12 +785,9 @@ describe("API", () => {
797
785
pageErrors . push ( error ) ;
798
786
} ) ;
799
787
800
- const response = await page . goto (
801
- `http://127.0.0.1:${ devServerPort } /main` ,
802
- {
803
- waitUntil : "networkidle0" ,
804
- }
805
- ) ;
788
+ const response = await page . goto ( `http://127.0.0.1:${ devServerPort } /` , {
789
+ waitUntil : "networkidle0" ,
790
+ } ) ;
806
791
807
792
expect ( response . status ( ) ) . toMatchSnapshot ( "response status" ) ;
808
793
@@ -898,7 +883,7 @@ describe("API", () => {
898
883
webSocketRequests . push ( test ) ;
899
884
} ) ;
900
885
901
- const response = await page . goto ( `http://127.0.0.1:${ port } /main ` , {
886
+ const response = await page . goto ( `http://127.0.0.1:${ port } /` , {
902
887
waitUntil : "networkidle0" ,
903
888
} ) ;
904
889
0 commit comments