Skip to content

Commit

Permalink
chore: u
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Dec 18, 2023
1 parent f97549c commit 372cede
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/react-components/tests/translations.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ test("language keys and templates match", async ({ templates }) => {
console.log("XXXXXXXXXX")
console.log(translations)
console.log("XXXXXXXXXX")
await test.step("Checking language keys", () => {
for (const translation of Object.values(translations)) {
for (const [language, translation] of Object.entries(translations)) {
await test.step("Checking language keys for language " + language, () => {
expect(Object.keys(translation).sort()).toEqual(Object.keys(en).sort())
}
})
})
}

await test.step("Checking template strings", () => {
Object.entries(translations).forEach(([language, translation]) => {
Expand Down

0 comments on commit 372cede

Please sign in to comment.