commit 71e233745fdd3c329532082642ef071de7fca64b
parent 0f46d7aac65f84d1a3127190285fefd673fa4665
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 25 Sep 2026 22:19:50 -0400
export: pwa.spec's /icons/ 404 probe names the dev-server log it causes as expected (brand S1 review)
"Failed to generate static paths for /icons/[file] … missing param" is Next's
dev message for a name outside generateStaticParams with dynamicParams=false
under output: export; the response is the 404 the test asserts.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/export/e2e/pwa.spec.ts b/export/e2e/pwa.spec.ts
@@ -73,7 +73,11 @@ test("serves the service worker and the icon set", async ({ request }) => {
expect(b.readUInt16LE(4)).toBeGreaterThan(0);
const first = b.readUInt32LE(6 + 12);
expect([...b.subarray(first, first + 8)]).toEqual(PNG_MAGIC);
- // Anything not in the set is not an icon.
+ // Anything not in the set is not an icon. EXPECTED in the dev server's log:
+ // "⨯ Failed to generate static paths for /icons/[file] … missing param" —
+ // Next's dev message when a name outside generateStaticParams meets
+ // dynamicParams=false under output: "export". The answer is still the 404
+ // asserted here; it is not a failure.
expect((await request.get("/icons/icon-64.png")).status()).toBe(404);
});