Skip to content

Commit

Permalink
Update jest.md
Browse files Browse the repository at this point in the history
Included `testMatch` and edited `transform` entries to meet [#6442](jestjs/jest#6442) from the Jest community.
  • Loading branch information
newmanicspree committed Oct 30, 2019
1 parent 0c36b24 commit d21ae7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/testing/jest.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ module.exports = {
"roots": [
"<rootDir>/src"
],
testMatch: [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
"^.+\\.(ts|tsx)?$": "ts-jest"
},
}
```
Expand Down

0 comments on commit d21ae7f

Please sign in to comment.