fix: windows tests

isekai-main
Barış Soner Uşaklı 3 years ago
parent 9b68dc37cc
commit 25ebbd6563

@ -15,7 +15,7 @@ describe('i18n', () => {
before(async () => { before(async () => {
folders = await fs.promises.readdir(path.resolve(__dirname, '../public/language')); 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 () => { it('should contain folders named after the language code', async () => {

Loading…
Cancel
Save