Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-waarneming-nl committed Oct 14, 2024
1 parent 2765040 commit 92c4f79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rules/__tests__/no-missing-translations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jest.mock("fs", () => {
readFileSync: jest.fn((file: string) => {
if (file === "en.json") {
return JSON.stringify({
"Existing key": "Existing value",
"Key that only exists in en.json": "Value",
"Existing key": "Existing key",
"Key that only exists in en.json": "Key that only exists in en.json",
})
}
if (file === "nl.json") {
return JSON.stringify({
"Existing key": "Existing value",
"Existing key": "Bestaande sleutel",
})
}
}),
Expand Down

0 comments on commit 92c4f79

Please sign in to comment.