Fix planner review findings
This commit is contained in:
+4
-1
@@ -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]");
|
||||
|
||||
Reference in New Issue
Block a user