Skip to content

Commit

Permalink
fix: add root dir to jest setup
Browse files Browse the repository at this point in the history
  • Loading branch information
bashleigh committed May 11, 2021
1 parent 8e44f80 commit 4a1ac2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "./src/.*\\.(test|spec).(ts|tsx|js)$",
"testRegex": ".*\\.(test|spec).(ts|tsx|js)$",
"rootDir": "src",
"collectCoverageFrom": [
"src/**/*.ts",
"!src/main.ts",
Expand Down

0 comments on commit 4a1ac2f

Please sign in to comment.