@@ -715,7 +715,7 @@ test.describe("Fog of War", () => {
715715 expect ( await app . getHtml ( "#parent" ) ) . toMatch ( `Parent` ) ;
716716 expect ( await app . getHtml ( "#child2" ) ) . toMatch ( `Child 2` ) ;
717717 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 = / ) ,
719719 ] ) ;
720720 } ) ;
721721
@@ -783,7 +783,7 @@ test.describe("Fog of War", () => {
783783 ) ,
784784 ) . toEqual ( [ "root" , "routes/_index" , "routes/$slug" ] ) ;
785785 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 = / ) ,
787787 ] ) ;
788788 manifestRequests = [ ] ;
789789
@@ -797,7 +797,7 @@ test.describe("Fog of War", () => {
797797 await page . waitForSelector ( "#static" ) ;
798798 expect ( await app . getHtml ( "#static" ) ) . toMatch ( "Static" ) ;
799799 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 = / ) ,
801801 ] ) ;
802802 expect (
803803 await page . evaluate ( ( ) =>
@@ -870,7 +870,7 @@ test.describe("Fog of War", () => {
870870 ) ,
871871 ) . toEqual ( [ "root" , "routes/_index" , "routes/$" ] ) ;
872872 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 = / ) ,
874874 ] ) ;
875875 manifestRequests = [ ] ;
876876
@@ -884,7 +884,7 @@ test.describe("Fog of War", () => {
884884 await page . waitForSelector ( "#static" ) ;
885885 expect ( await app . getHtml ( "#static" ) ) . toMatch ( "Static" ) ;
886886 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 = / ) ,
888888 ] ) ;
889889 expect (
890890 await page . evaluate ( ( ) =>
@@ -956,7 +956,7 @@ test.describe("Fog of War", () => {
956956 await page . waitForSelector ( "#slug" ) ;
957957 expect ( await app . getHtml ( "#slug" ) ) . toMatch ( "Slug: a" ) ;
958958 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 = / ) ,
960960 ] ) ;
961961 manifestRequests = [ ] ;
962962
@@ -977,7 +977,7 @@ test.describe("Fog of War", () => {
977977 await page . waitForSelector ( "#slug" ) ;
978978 expect ( await app . getHtml ( "#slug" ) ) . toMatch ( "Slug: b" ) ;
979979 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 = / ) ,
981981 ] ) ;
982982 } ) ;
983983
@@ -1044,7 +1044,7 @@ test.describe("Fog of War", () => {
10441044 await page . waitForSelector ( "#splat" ) ;
10451045 expect ( await app . getHtml ( "#splat" ) ) . toMatch ( "Splat: a" ) ;
10461046 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 = / ) ,
10481048 ] ) ;
10491049 manifestRequests = [ ] ;
10501050
@@ -1065,7 +1065,7 @@ test.describe("Fog of War", () => {
10651065 await page . waitForSelector ( "#splat" ) ;
10661066 expect ( await app . getHtml ( "#splat" ) ) . toMatch ( "Splat: b/c" ) ;
10671067 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 = / ) ,
10691069 ] ) ;
10701070 } ) ;
10711071
@@ -1137,15 +1137,15 @@ test.describe("Fog of War", () => {
11371137 await app . clickLink ( "/not/a/path" ) ;
11381138 await page . waitForSelector ( "#error" ) ;
11391139 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 = / ) ,
11411141 ] ) ;
11421142 manifestRequests = [ ] ;
11431143
11441144 // Go to a valid slug route
11451145 await app . clickLink ( "/something" ) ;
11461146 await page . waitForSelector ( "#slug" ) ;
11471147 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 = / ) ,
11491149 ] ) ;
11501150 manifestRequests = [ ] ;
11511151
@@ -1233,7 +1233,7 @@ test.describe("Fog of War", () => {
12331233 await new Promise ( ( resolve ) => setTimeout ( resolve , 250 ) ) ;
12341234 expect ( manifestRequests ) . toEqual ( [
12351235 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 } / ,
12371237 ) ,
12381238 ] ) ;
12391239 } ) ;
@@ -1275,7 +1275,7 @@ test.describe("Fog of War", () => {
12751275 await new Promise ( ( resolve ) => setTimeout ( resolve , 250 ) ) ;
12761276 expect ( manifestRequests ) . toEqual ( [
12771277 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 / ,
12791279 ) ,
12801280 ] ) ;
12811281 } ) ;
@@ -1439,7 +1439,7 @@ test.describe("Fog of War", () => {
14391439 ) ,
14401440 ) . toEqual ( [ "root" , "routes/_index" , "routes/a" ] ) ;
14411441 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 = / ) ,
14431443 ] ) ;
14441444 manifestRequests = [ ] ;
14451445
@@ -1449,7 +1449,7 @@ test.describe("Fog of War", () => {
14491449 // Wait for eager discovery to kick off
14501450 await new Promise ( ( r ) => setTimeout ( r , 500 ) ) ;
14511451 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 = / ) ,
14531453 ] ) ;
14541454
14551455 expect ( wrongManifestRequests ) . toEqual ( [ ] ) ;
0 commit comments