Fix planner review findings

This commit is contained in:
2026-07-30 08:11:08 -04:00
parent 7416898bec
commit f3d026a109
6 changed files with 392 additions and 114 deletions
+4 -1
View File
@@ -78,7 +78,10 @@ test("strict CSP/static modules, no-store data, auth lifecycle, and ownership sh
assert.match(mainScript.text, /localStorage\.removeItem\(key\)/);
const serviceWorker = (await anonymous.get("/sw.js")).text;
assert.match(serviceWorker, /data-free authenticated shell/);
assert.match(serviceWorker, /url\.pathname === "\/app" \? caches\.match\("\/app"\)/);
assert.match(
serviceWorker,
/url\.pathname === "\/app"[\s\S]*caches\.match\("\/app"\)/,
);
assert.match(serviceWorker, /logout clears that namespace/);
const one = await signup(first, "[email protected]");