diff --git a/test/i18n.js b/test/i18n.js index 692232b305..af066098f9 100644 --- a/test/i18n.js +++ b/test/i18n.js @@ -15,7 +15,7 @@ describe('i18n', () => { before(async () => { folders = await fs.promises.readdir(path.resolve(__dirname, '../public/language')); - folders.shift(); // remove README.md from list of folders to check + folders = folders.filter(f => f !== 'README.md'); }); it('should contain folders named after the language code', async () => {