Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 authored Mar 1, 2024
1 parent 6a200ad commit 582e704
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,11 @@ describe('i18next-gettext-converter', () => {
describe('should skip empty values appropriately', () => {
it('base', () => expect(gettextToI18next('en', readFileSync(testFiles.en.untranslated)).then(JSON.parse))
.to.become(requireTestFile(testFiles.en.untranslated_expected)));

it('skipUntranslated', () => expect(gettextToI18next('en', readFileSync(testFiles.en.untranslated), {
skipUntranslated: true,
}).then(JSON.parse)).to.become(requireTestFile(testFiles.en.untranslated_skipped)));

it('skipUntranslated and keyasareference', () => expect(gettextToI18next('en', readFileSync(testFiles.en.untranslated), {
keyasareference: true,
skipUntranslated: true,
Expand Down

0 comments on commit 582e704

Please sign in to comment.