You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
typegoose__typegoose/jest.config.json

35 lines
760 B

{
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"\\.ts$": ["ts-jest", {
"tsconfig": "<rootDir>/tsconfig.json",
"diagnostics": true
}]
},
"moduleFileExtensions": [
"ts",
"js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/"
],
"testRegex": ".test.ts$",
"collectCoverage": false,
"collectCoverageFrom": [
"**/src/**/*.ts",
"!**/*.{test.ts,d.ts,js}"
],
"coverageDirectory": "./coverage",
"globalSetup": "<rootDir>/test/globalSetup.ts",
"globalTeardown": "<rootDir>/test/globalTeardown.ts",
"maxConcurrency": 2,
"setupFilesAfterEnv": [
"<rootDir>/test/setupFile.ts"
],
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
}
}