Close DV-01–04,07,09,13,14: unify operator-deck UX in server/web.
Standardize neon cyan on #00e8f5, wire SacredPageHeader across Builds/Path Tracer/LOTL, dedupe Pages.css, align Path Tracer chrome, drop dead wealth-deck CSS, add prefers-color-scheme shell + HelpTip, sidebar version from package.json build inject, and Vitest CSS regression guards.
This commit is contained in:
@@ -77,4 +77,14 @@ describe('auth session helpers', () => {
|
||||
expect(consumeAuthExpiredFlag()).toBe(true);
|
||||
expect(consumeAuthExpiredFlag()).toBe(false);
|
||||
});
|
||||
|
||||
it('dispatches aetherforge-auth on login and logout', () => {
|
||||
const handler = vi.fn();
|
||||
window.addEventListener('aetherforge-auth', handler);
|
||||
setStoredAuth('user', 'pass');
|
||||
expect(handler).toHaveBeenCalledTimes(1);
|
||||
clearStoredAuth();
|
||||
expect(handler).toHaveBeenCalledTimes(2);
|
||||
window.removeEventListener('aetherforge-auth', handler);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user