Skip to content

Commit

Permalink
Fix ts-jest not finding project root
Browse files Browse the repository at this point in the history
  • Loading branch information
tnekent committed Mar 12, 2020
1 parent 83da8ab commit 880d487
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jest.config.js
Expand Up @@ -3,5 +3,10 @@ module.exports = {
testEnvironment: "node",
cacheDirectory: "../.cache/jest",
roots: ["src/", "tests/"],
testMatch: ["**/*.test.ts"]
testMatch: ["**/*.test.ts"],
"globals": {
"ts-jest": {
"packageJson": "./package.json"
}
}
};

0 comments on commit 880d487

Please sign in to comment.