Skip to content

Commit

Permalink
Merge pull request #35 from crowdin/library-updates
Browse files Browse the repository at this point in the history
Library updates
  • Loading branch information
yevheniyJ committed Apr 7, 2023
2 parents f7b6c1e + 00314f5 commit dbd7b99
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 83 deletions.
23 changes: 23 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
testEnvironment: 'node',
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.(t|j)sx?$': 'ts-jest',
},
moduleNameMapper: {
/**
* Jest will resolve the ESM build of axios by default, even though
* it fully supports CJS.
* @see https://github.com/axios/axios/issues/5101
*/
'^axios$': require.resolve('axios'),
},
testRegex: '(/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
coverageReporters: ['text', 'cobertura'],
globals: {
'ts-jest': {
compiler: 'ttypescript'
}
},
};
24 changes: 0 additions & 24 deletions jestconfig.json

This file was deleted.

158 changes: 104 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dbd7b99

Please sign in to comment.