Skip to content

Commit

Permalink
Restore
Browse files Browse the repository at this point in the history
  • Loading branch information
incleaf committed Dec 1, 2021
1 parent 6895ef4 commit 774b6ec
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/parser.test.js
Expand Up @@ -779,7 +779,7 @@ describe('parser', () => {
})

afterEach(() => {
console.log.restore()
console.log.restore();
})

describe('with defaultResetLocale', () => {
Expand Down Expand Up @@ -1412,7 +1412,7 @@ describe('parser', () => {
it('generates plurals according to compatibilityJSON value', (done) => {
let result
const i18nextParser = new i18nTransform({
i18nextOptions: { compatibilityJSON: 'v3' },
i18nextOptions: { compatibilityJSON: 'v3' }
})
const fakeFile = new Vinyl({
contents: Buffer.from("t('test {{count}}', { count: 1 })"),
Expand All @@ -1437,10 +1437,7 @@ describe('parser', () => {

it('generates plurals according to compatibilityJSON value for languages with multiple plural forms', (done) => {
let result
const i18nextParser = new i18nTransform({
locales: ['ar'],
i18nextOptions: { compatibilityJSON: 'v3' },
})
const i18nextParser = new i18nTransform({ locales: ['ar'], i18nextOptions: { compatibilityJSON: 'v3'} })
const fakeFile = new Vinyl({
contents: Buffer.from("t('test {{count}}', { count: 1 })"),
path: 'file.js',
Expand Down

0 comments on commit 774b6ec

Please sign in to comment.