Skip to content

Commit

Permalink
Add ts-jest transformers to config
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhitham-ds committed Aug 23, 2022
1 parent 0f07da7 commit 5f491ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,11 @@ module.exports = {
// A map from regular expressions to paths to transformers
transform: {
'.js$': './jest/esm-transformer.js',
'\\.tsx?$': 'ts-jest',
'\\.ts?$': 'ts-jest',
},


// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
// transformIgnorePatterns: [
// "/node_modules/",
Expand Down

0 comments on commit 5f491ca

Please sign in to comment.