Skip to content

Commit

Permalink
fix: unmute console.log in extract-translations script
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh committed Apr 3, 2022
1 parent cc596ed commit 82c922b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/extract-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as stackTraceParser from 'stacktrace-parser'

import initialize from '../src/services/i18n/initialize'
import * as registerTranslations from '../src/services/i18n/register-translations'
import { unmuteConsole } from '../test/utils/console'

const getComponentFromStack = () => stackTraceParser
.parse( new Error().stack! )
Expand All @@ -20,5 +21,6 @@ it( 'Extracting i18next translations', async () => {

require( '../src/App' )

unmuteConsole( 'log' )
console.log( allTranslations )
} )

0 comments on commit 82c922b

Please sign in to comment.