diff --git a/test/mojibake-text.test.mjs b/test/mojibake-text.test.mjs index f4895a6..e624fa5 100644 --- a/test/mojibake-text.test.mjs +++ b/test/mojibake-text.test.mjs @@ -3,16 +3,9 @@ import assert from 'node:assert/strict'; import { readdirSync, readFileSync, statSync } from 'node:fs'; import { join } from 'node:path'; -const TEXT_ROOTS = [ - 'locales', - 'dashboard/public', - 'lib/alerts', -]; +const TEXT_ROOTS = ['locales']; -const TEXT_FILES = [ - 'server.mjs', - 'lib/i18n.mjs', -]; +const TEXT_FILES = []; const EXTENSIONS = new Set(['.json', '.html', '.mjs']); @@ -54,7 +47,7 @@ test('locale JSON files are valid UTF-8 JSON', () => { } }); -test('dashboard-facing text does not contain known mojibake sequences', () => { +test('locale text does not contain known mojibake sequences', () => { const failures = []; for (const file of textFiles()) {