From 559e3d80eb8d65f7ab9443966d4fcfd087e4f8f0 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 11 Apr 2021 10:29:37 -0700 Subject: [PATCH] test: fix test --- tests/unit/test-intl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test-intl.js b/tests/unit/test-intl.js index 89533cda..4ab23236 100644 --- a/tests/unit/test-intl.js +++ b/tests/unit/test-intl.js @@ -16,7 +16,7 @@ describe('test-intl.js', () => { it('has no unused intl strings', async () => { const keys = Object.keys(enIntl) - const allSourceFilenames = (await globby([path.join(__dirname, '../../src/**/*.{js,html}')])) + const allSourceFilenames = (await globby([path.join(__dirname, '../../src/**/*.{js,html,json}')])) .filter(file => !file.includes('/intl/')) const allSourceFiles = await Promise.all( allSourceFilenames.map(async name => ({ name, content: await readFile(name, 'utf8') }))