Release 1.0.8 with platform, security, and UI hardening.
Adds API filter registry, style theme registry, SW bitmask cache clear, KV namespacing, session expiry checks, accessibility improvements, and expanded test coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { describe, test } from 'node:test';
|
||||
import assert from 'node:assert';
|
||||
import { PWA_CACHE_SCOPE } from '../src/platform/worker.js';
|
||||
|
||||
describe('worker PWA cache scope', () => {
|
||||
test('PWA_CACHE_SCOPE exposes composable bit flags', () => {
|
||||
assert.strictEqual(PWA_CACHE_SCOPE.SERVICE_WORKERS, 1);
|
||||
assert.strictEqual(PWA_CACHE_SCOPE.CACHES, 2);
|
||||
assert.strictEqual(PWA_CACHE_SCOPE.STORAGE, 4);
|
||||
assert.strictEqual(PWA_CACHE_SCOPE.ALL, 7);
|
||||
assert.strictEqual(
|
||||
PWA_CACHE_SCOPE.CACHES | PWA_CACHE_SCOPE.SERVICE_WORKERS,
|
||||
3
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user