Skip to content

Commit

Permalink
jest config: also transform tsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Sep 20, 2019
1 parent 65eebf3 commit d370e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
verbose: true,
bail: true,
transform: {
"^.+\\.[tj]s$": "babel-jest",
"^.+\\.[tj]sx?$": "babel-jest",
},
projects: ["<rootDir>/packages/*"],
setupFiles: ["<rootDir>/jest.setup.js"],
Expand Down

0 comments on commit d370e89

Please sign in to comment.