Skip to content

Instantly share code, notes, and snippets.

@nishabe
Created January 6, 2021 01:08
Show Gist options
  • Save nishabe/7491be5eba0cd7218142bb99fc3f1a5c to your computer and use it in GitHub Desktop.
Save nishabe/7491be5eba0cd7218142bb99fc3f1a5c to your computer and use it in GitHub Desktop.
jest config
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"collectCoverage": true,
"verbose": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment