Created
October 8, 2022 17:24
-
-
Save barisbll/9d13009779f0b507a1deb919d297de81 to your computer and use it in GitHub Desktop.
Configuration of the jest file, comments excluded
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
export default { | |
clearMocks: true, | |
collectCoverage: true, | |
coverageDirectory: 'coverage', | |
coveragePathIgnorePatterns: [ | |
'/node_modules/', | |
'/src/db/', | |
], | |
coverageProvider: 'v8', | |
coverageReporters: [ | |
'json', | |
'text', | |
'lcov', | |
'clover', | |
], | |
moduleFileExtensions: [ | |
'js', | |
'ts', | |
'tsx', | |
], | |
preset: 'ts-jest', | |
roots: [ | |
'<rootDir>/src', | |
], | |
testEnvironment: 'node', | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment