Skip to content

Commit

Permalink
Jest not looking at spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
hejny committed Sep 13, 2021
1 parent 2de0196 commit 6c03a60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jestconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testRegex": "(/__tests__/.*|(\\.|/)(test))\\.(jsx?|tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
"coverageDirectory": "./coverage/",
"collectCoverage": true
}
}

0 comments on commit 6c03a60

Please sign in to comment.