autobaan/jest.config.ts

31 lines
No EOL
530 B
TypeScript

import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
preset: 'ts-jest',
testEnvironment: 'node',
verbose: true,
clearMocks: true,
collectCoverage: true,
coverageReporters: [
"text"
],
coveragePathIgnorePatterns: [
"/node_modules/"
],
coverageProvider: "v8",
moduleDirectories: [
"node_modules"
],
moduleFileExtensions: [
"js",
"ts"
],
roots: [
"<rootDir>/tests"
],
testMatch: [
"**/*.test.ts"
]
}
export default jestConfig