Last active
December 25, 2018 06:07
-
-
Save leejh3224/3aa29c418710266dfc309ac90e57748a to your computer and use it in GitHub Desktop.
This file contains 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
// this config includes typescript specific settings | |
// and if you're not using typescript, you should remove `transform` property | |
module.exports = { | |
transform: { | |
'^.+\\.tsx?$': 'ts-jest', | |
}, | |
testRegex: 'src(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$', | |
testPathIgnorePatterns: ['lib/', 'node_modules/'], | |
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], | |
testEnvironment: 'node', | |
rootDir: 'src', | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment