Created
October 12, 2018 17:04
-
-
Save phantomk/1cd451073ef354f0bb9d974c7adb87d1 to your computer and use it in GitHub Desktop.
ts-jest config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| preset: 'ts-jest', | |
| testEnvironment: 'node', | |
| coverageDirectory: './coverage', | |
| roots: [ | |
| './test' | |
| ] | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scripts": { | |
| "test": "jest --coverage", | |
| "jest": "ts-jest config:init" | |
| }, | |
| "devDependencies": { | |
| "@types/jest": "^23.3.5", | |
| "jest": "^23.6.0", | |
| "ts-jest": "^23.10.0", | |
| "typescript": "^3.0.3" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment