diff --git a/tests/e2e/tests/build/server-rendering/server-routes-preload-links.ts b/tests/e2e/tests/build/server-rendering/server-routes-preload-links.ts index 5b2f1257d41f..4094ee4351b9 100644 --- a/tests/e2e/tests/build/server-rendering/server-routes-preload-links.ts +++ b/tests/e2e/tests/build/server-rendering/server-routes-preload-links.ts @@ -132,7 +132,7 @@ export default async function () { const res = await fetch(`http://localhost:${defaultServerPort}/`); const text = await res.text(); - const homeMatch = //; + const homeMatch = //; assert.match(text, homeMatch, `Response for '/': ${homeMatch} was not matched in content.`); const link = text.match(homeMatch)?.[1]; @@ -148,36 +148,36 @@ const RESPONSE_EXPECTS: Record< } > = { '/': { - matches: [//], + matches: [//], notMatches: [/ssg\-component/, /ssr/, /csr/, /cross-dep-/], }, '/ssg': { matches: [ - //, - //, + //, + //, ], notMatches: [/home/, /ssr/, /csr/, /ssg-one/, /ssg-two/, /cross-dep-/], }, '/ssg/one': { matches: [ - //, - //, + //, + //, ], notMatches: [/home/, /ssr/, /csr/, /ssg-two/, /ssg\-component/, /cross-dep-/], }, '/ssg/two': { matches: [ - //, - //, + //, + //, ], notMatches: [/home/, /ssr/, /csr/, /ssg-one/, /ssg\-component/, /cross-dep-/], }, '/ssr': { - matches: [//], + matches: [//], notMatches: [/home/, /ssg\-component/, /csr/], }, '/csr': { - matches: [//], + matches: [//], notMatches: [/home/, /ssg\-component/, /ssr/, /cross-dep-/], }, };