diff --git a/tests/frontend/unit.test.mjs b/tests/frontend/unit.test.mjs index cff5e50..5954eb7 100644 --- a/tests/frontend/unit.test.mjs +++ b/tests/frontend/unit.test.mjs @@ -103,7 +103,12 @@ function testModulesHaveImports() { const files = readdirSync(JS_DIR).filter(f => f.endsWith('.js') && f !== 'sidebar_raw.js'); const expected = [ { file: 'state.js', reason: 'export-only module' }, - { file: 'autocomplete.js', reason: 'standalone — uses globals, no deps' }, + { file: 'autocomplete.js', reason: 'standalone — globals' }, + { file: 'i18n.js', reason: 'standalone — globals' }, + { file: 'offline-db.js', reason: 'standalone — IndexedDB' }, + { file: 'pane-manager.js', reason: 'standalone — no deps' }, + { file: 'themes.js', reason: 'standalone — no deps' }, + { file: 'sidebar_raw.js', reason: 'legacy file — excluded' }, ]; const expectNoImport = new Set(expected.map(e => e.file));