🚨(frontend) fix CI probs

The CI highlighted some issues with the tests.
This commit fixes the issues.
This commit is contained in:
Anthony LC
2024-04-03 17:04:04 +02:00
committed by Anthony LC
parent 352d4f6d27
commit 6de828c049
7 changed files with 52 additions and 41 deletions

View File

@@ -19,7 +19,9 @@ describe('checks all the frontend translation are made', () => {
Object.keys(jsonimpress)
.filter((key) => key !== 'en')
.forEach((key) => {
const listKeysimpress = Object.keys(jsonimpress[key].translation).sort();
const listKeysimpress = Object.keys(
jsonimpress[key].translation,
).sort();
const missingKeys = listKeysCrowdin.filter(
(element) => !listKeysimpress.includes(element),
);