Skip to content

Commit

Permalink
chore: update jest transform ignore pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ymekuria committed Mar 9, 2023
1 parent 7e5df5e commit 9d16829
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/project-ts/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export default {
'^.+\\.(j)s$': 'babel-jest',
},
resolver: '<rootDir>/jest-resolver.cjs',
transformIgnorePatterns: ['node_modules/(?!tslib)'],
transformIgnorePatterns: [
'<rootDir>/node_modules/(?!(tslib|snarkyjs/node_modules/tslib))',
],
modulePathIgnorePatterns: ['<rootDir>/build/'],
moduleNameMapper: {
'^(\\.{1,2}/.+)\\.js$': '$1',
Expand Down

0 comments on commit 9d16829

Please sign in to comment.