@@ -715,7 +715,7 @@ test.describe("Fog of War", () => {
715
715
expect ( await app . getHtml ( "#parent" ) ) . toMatch ( `Parent` ) ;
716
716
expect ( await app . getHtml ( "#child2" ) ) . toMatch ( `Child 2` ) ;
717
717
expect ( manifestRequests ) . toEqual ( [
718
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F p a r e n t % 2 F c h i l d 2 & v e r s i o n = / ) ,
718
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F p a r e n t % 2 F c h i l d 2 & v e r s i o n = / ) ,
719
719
] ) ;
720
720
} ) ;
721
721
@@ -783,7 +783,7 @@ test.describe("Fog of War", () => {
783
783
) ,
784
784
) . toEqual ( [ "root" , "routes/_index" , "routes/$slug" ] ) ;
785
785
expect ( manifestRequests ) . toEqual ( [
786
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F s o m e t h i n g & v e r s i o n = / ) ,
786
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F s o m e t h i n g & v e r s i o n = / ) ,
787
787
] ) ;
788
788
manifestRequests = [ ] ;
789
789
@@ -797,7 +797,7 @@ test.describe("Fog of War", () => {
797
797
await page . waitForSelector ( "#static" ) ;
798
798
expect ( await app . getHtml ( "#static" ) ) . toMatch ( "Static" ) ;
799
799
expect ( manifestRequests ) . toEqual ( [
800
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F s t a t i c & v e r s i o n = / ) ,
800
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F s t a t i c & v e r s i o n = / ) ,
801
801
] ) ;
802
802
expect (
803
803
await page . evaluate ( ( ) =>
@@ -870,7 +870,7 @@ test.describe("Fog of War", () => {
870
870
) ,
871
871
) . toEqual ( [ "root" , "routes/_index" , "routes/$" ] ) ;
872
872
expect ( manifestRequests ) . toEqual ( [
873
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F s o m e t h i n g & v e r s i o n = / ) ,
873
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F s o m e t h i n g & v e r s i o n = / ) ,
874
874
] ) ;
875
875
manifestRequests = [ ] ;
876
876
@@ -884,7 +884,7 @@ test.describe("Fog of War", () => {
884
884
await page . waitForSelector ( "#static" ) ;
885
885
expect ( await app . getHtml ( "#static" ) ) . toMatch ( "Static" ) ;
886
886
expect ( manifestRequests ) . toEqual ( [
887
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F s t a t i c & v e r s i o n = / ) ,
887
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F s t a t i c & v e r s i o n = / ) ,
888
888
] ) ;
889
889
expect (
890
890
await page . evaluate ( ( ) =>
@@ -956,7 +956,7 @@ test.describe("Fog of War", () => {
956
956
await page . waitForSelector ( "#slug" ) ;
957
957
expect ( await app . getHtml ( "#slug" ) ) . toMatch ( "Slug: a" ) ;
958
958
expect ( manifestRequests ) . toEqual ( [
959
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F a & v e r s i o n = / ) ,
959
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F a & v e r s i o n = / ) ,
960
960
] ) ;
961
961
manifestRequests = [ ] ;
962
962
@@ -977,7 +977,7 @@ test.describe("Fog of War", () => {
977
977
await page . waitForSelector ( "#slug" ) ;
978
978
expect ( await app . getHtml ( "#slug" ) ) . toMatch ( "Slug: b" ) ;
979
979
expect ( manifestRequests ) . toEqual ( [
980
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F b & v e r s i o n = / ) ,
980
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F b & v e r s i o n = / ) ,
981
981
] ) ;
982
982
} ) ;
983
983
@@ -1044,7 +1044,7 @@ test.describe("Fog of War", () => {
1044
1044
await page . waitForSelector ( "#splat" ) ;
1045
1045
expect ( await app . getHtml ( "#splat" ) ) . toMatch ( "Splat: a" ) ;
1046
1046
expect ( manifestRequests ) . toEqual ( [
1047
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F a & v e r s i o n = / ) ,
1047
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F a & v e r s i o n = / ) ,
1048
1048
] ) ;
1049
1049
manifestRequests = [ ] ;
1050
1050
@@ -1065,7 +1065,7 @@ test.describe("Fog of War", () => {
1065
1065
await page . waitForSelector ( "#splat" ) ;
1066
1066
expect ( await app . getHtml ( "#splat" ) ) . toMatch ( "Splat: b/c" ) ;
1067
1067
expect ( manifestRequests ) . toEqual ( [
1068
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F b % 2 F c & v e r s i o n = / ) ,
1068
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F b % 2 F c & v e r s i o n = / ) ,
1069
1069
] ) ;
1070
1070
} ) ;
1071
1071
@@ -1137,15 +1137,15 @@ test.describe("Fog of War", () => {
1137
1137
await app . clickLink ( "/not/a/path" ) ;
1138
1138
await page . waitForSelector ( "#error" ) ;
1139
1139
expect ( manifestRequests ) . toEqual ( [
1140
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F n o t % 2 F a % 2 F p a t h & v e r s i o n = / ) ,
1140
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F n o t % 2 F a % 2 F p a t h & v e r s i o n = / ) ,
1141
1141
] ) ;
1142
1142
manifestRequests = [ ] ;
1143
1143
1144
1144
// Go to a valid slug route
1145
1145
await app . clickLink ( "/something" ) ;
1146
1146
await page . waitForSelector ( "#slug" ) ;
1147
1147
expect ( manifestRequests ) . toEqual ( [
1148
- expect . stringMatching ( / \/ _ _ m a n i f e s t \? p = % 2 F s o m e t h i n g & v e r s i o n = / ) ,
1148
+ expect . stringMatching ( / \/ _ _ m a n i f e s t \? p a t h s = % 2 F s o m e t h i n g & v e r s i o n = / ) ,
1149
1149
] ) ;
1150
1150
manifestRequests = [ ] ;
1151
1151
@@ -1233,7 +1233,7 @@ test.describe("Fog of War", () => {
1233
1233
await new Promise ( ( resolve ) => setTimeout ( resolve , 250 ) ) ;
1234
1234
expect ( manifestRequests ) . toEqual ( [
1235
1235
expect . stringMatching (
1236
- / \/ _ _ m a n i f e s t \? p = % 2 F & p = % 2 F a & p = % 2 F b & v e r s i o n = [ a - z 0 - 9 ] { 8 } / ,
1236
+ / \/ _ _ m a n i f e s t \? p a t h s = % 2 F % 2 C % 2 F a % 2 C % 2 F b & v e r s i o n = [ a - z 0 - 9 ] { 8 } / ,
1237
1237
) ,
1238
1238
] ) ;
1239
1239
} ) ;
@@ -1275,7 +1275,7 @@ test.describe("Fog of War", () => {
1275
1275
await new Promise ( ( resolve ) => setTimeout ( resolve , 250 ) ) ;
1276
1276
expect ( manifestRequests ) . toEqual ( [
1277
1277
expect . stringMatching (
1278
- / \/ _ _ m a n i f e s t \? p = % 2 F & p = % 2 F a & p = % 2 F b & p = % 2 F c & p = % 2 F d & p = % 2 F e & p = % 2 F f & p = % 2 F / ,
1278
+ / \/ _ _ m a n i f e s t \? p a t h s = % 2 F % 2 C % 2 F a % 2 C % 2 F b % 2 C % 2 F c % 2 C % 2 F d % 2 C % 2 F e % 2 C % 2 F f % 2 C % 2 F g / ,
1279
1279
) ,
1280
1280
] ) ;
1281
1281
} ) ;
@@ -1439,7 +1439,7 @@ test.describe("Fog of War", () => {
1439
1439
) ,
1440
1440
) . toEqual ( [ "root" , "routes/_index" , "routes/a" ] ) ;
1441
1441
expect ( manifestRequests ) . toEqual ( [
1442
- expect . stringMatching ( / \/ c u s t o m - m a n i f e s t \? p = % 2 F & p = % 2 F a & v e r s i o n = / ) ,
1442
+ expect . stringMatching ( / \/ c u s t o m - m a n i f e s t \? p a t h s = % 2 F % 2 C % 2 F a & v e r s i o n = / ) ,
1443
1443
] ) ;
1444
1444
manifestRequests = [ ] ;
1445
1445
@@ -1449,7 +1449,7 @@ test.describe("Fog of War", () => {
1449
1449
// Wait for eager discovery to kick off
1450
1450
await new Promise ( ( r ) => setTimeout ( r , 500 ) ) ;
1451
1451
expect ( manifestRequests ) . toEqual ( [
1452
- expect . stringMatching ( / \/ c u s t o m - m a n i f e s t \? p = % 2 F a % 2 F b & v e r s i o n = / ) ,
1452
+ expect . stringMatching ( / \/ c u s t o m - m a n i f e s t \? p a t h s = % 2 F a % 2 F b & v e r s i o n = / ) ,
1453
1453
] ) ;
1454
1454
1455
1455
expect ( wrongManifestRequests ) . toEqual ( [ ] ) ;
0 commit comments