mempool/backend/jest.config.ts

21 lines
395 B
TypeScript
Raw Normal View History

2022-07-07 21:21:30 +02:00
import type { Config } from "@jest/types"
const config: Config.InitialOptions = {
preset: "ts-jest",
testEnvironment: "node",
verbose: true,
automock: false,
collectCoverage: true,
collectCoverageFrom: ["./src/**/**.ts"],
2022-08-20 02:35:47 +02:00
coverageProvider: "babel",
2022-07-07 21:21:30 +02:00
coverageThreshold: {
global: {
2022-07-07 21:49:21 +02:00
lines: 1
2022-07-07 21:21:30 +02:00
}
2022-08-20 02:35:47 +02:00
},
setupFiles: [
"./testSetup.ts",
],
2022-07-07 21:21:30 +02:00
}
export default config;