jest.config.json
{
"displayName": "func",
"coverageDirectory": "coverage",
"testPathIgnorePatterns": [
"/node_modules/",
"/__sandbox__/",
"/__recipes__/",
"-src"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx,js,jsx}"
],
"watchPathIgnorePatterns": [
".*\\.d\\.ts"
],
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
}