File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,6 @@ module.exports = {
22 preset : "ts-jest" ,
33 testEnvironment : "node" ,
44 coverageReporters : [ "lcov" ] ,
5- testPathIgnorePatterns : [ ".*\\.test\\.ts$" ] , // ignore TypeScript tests
5+ collectCoverageFrom : [ "src/**/*.ts" ] ,
6+ testPathIgnorePatterns : [ ".*\\.test\\.ts$" ] ,
67} ;
Original file line number Diff line number Diff line change 2222 "scripts" : {
2323 "build" : " tsc && tsc -p tsconfig.esm.json" ,
2424 "prepare" : " npm run build" ,
25- "test" : " jest --coverage && coveralls < coverage/lcov.info"
25+ "test" : " jest --coverage && if [ -s coverage/lcov.info ]; then coveralls < coverage/lcov.info; else echo 'No coverage info found'; fi "
2626 },
2727 "dependencies" : {
2828 "@sentry/node" : " ^7.73.0" ,
Original file line number Diff line number Diff line change 77 "outDir" : " dist" ,
88 "rootDir" : " ." ,
99 "moduleResolution" : " node" ,
10- "typeRoots " : [
11- " node_modules/@types"
12- ]
10+ "sourceMap " : true ,
11+ "typeRoots" : [ " node_modules/@types" ],
12+ "strict" : true
1313 },
1414 "ignoreDeprecations" : " 5.0" ,
1515 "exclude" : [
You can’t perform that action at this time.
0 commit comments