fix(test): scope the no-persistence pin to setItem (the board's sessionStorage handoff is a sanctioned read)
This commit is contained in:
@@ -180,8 +180,8 @@ test("pin: the panel composes mine-read first — never client-persisted applica
|
||||
assert.ok(/getLearnerApplicationStatus\(/.test(src), "the status read drives the panel");
|
||||
assert.ok(/withdrawApplication\(/.test(src), "the withdraw CTA dispatches through the client");
|
||||
assert.ok(
|
||||
!/localStorage|sessionStorage/.test(src),
|
||||
"no client-persisted application ids",
|
||||
!/localStorage\.setItem|sessionStorage\.setItem/.test(src),
|
||||
"no client-persisted application ids (no setItem anywhere)",
|
||||
);
|
||||
// mine 404 → the apply CTA (the honest absence arm)
|
||||
assert.ok(
|
||||
|
||||
Reference in New Issue
Block a user