Skip to content

Instantly share code, notes, and snippets.

@DimosthenisK
Created March 2, 2019 16:42
Show Gist options
  • Save DimosthenisK/4c38ad4bf3c25ddf36d51cdb0957d115 to your computer and use it in GitHub Desktop.
Save DimosthenisK/4c38ad4bf3c25ddf36d51cdb0957d115 to your computer and use it in GitHub Desktop.
Jest Sample configuration
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment