mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 18:03:00 +01:00
21 lines
395 B
TypeScript
21 lines
395 B
TypeScript
import type { Config } from "@jest/types"
|
|
|
|
const config: Config.InitialOptions = {
|
|
preset: "ts-jest",
|
|
testEnvironment: "node",
|
|
verbose: true,
|
|
automock: false,
|
|
collectCoverage: true,
|
|
collectCoverageFrom: ["./src/**/**.ts"],
|
|
coverageProvider: "babel",
|
|
coverageThreshold: {
|
|
global: {
|
|
lines: 1
|
|
}
|
|
},
|
|
setupFiles: [
|
|
"./testSetup.ts",
|
|
],
|
|
}
|
|
export default config;
|