chore: exclude stub in cov

This commit is contained in:
hantsy 2020-07-23 10:26:20 +08:00
parent 0e1b818c48
commit 97d520c59c
2 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,2 @@
ignore:
- "**/*stub.ts"
- "**/*dto.ts"
- "**/*interface.ts"
- "**/*model.ts"

View File

@ -80,6 +80,7 @@
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"coveragePathIgnorePatterns" :["/node_modules/",".*(stub.ts)$"],
"testEnvironment": "node",
"preset": "ts-jest"
},