mirror of
https://github.com/hantsy/nestjs-rest-sample.git
synced 2025-12-08 20:36:27 +00:00
chore: exclude stub in cov
This commit is contained in:
parent
0e1b818c48
commit
97d520c59c
@ -1,5 +1,2 @@
|
|||||||
ignore:
|
ignore:
|
||||||
- "**/*stub.ts"
|
- "**/*stub.ts"
|
||||||
- "**/*dto.ts"
|
|
||||||
- "**/*interface.ts"
|
|
||||||
- "**/*model.ts"
|
|
||||||
|
|||||||
@ -80,6 +80,7 @@
|
|||||||
"^.+\\.(t|j)s$": "ts-jest"
|
"^.+\\.(t|j)s$": "ts-jest"
|
||||||
},
|
},
|
||||||
"coverageDirectory": "../coverage",
|
"coverageDirectory": "../coverage",
|
||||||
|
"coveragePathIgnorePatterns" :["/node_modules/",".*(stub.ts)$"],
|
||||||
"testEnvironment": "node",
|
"testEnvironment": "node",
|
||||||
"preset": "ts-jest"
|
"preset": "ts-jest"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user