File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 78
78
"oad" : " ./dist/cli.js"
79
79
},
80
80
"jest" : {
81
+ "preset" : " ts-jest" ,
81
82
"collectCoverage" : true ,
82
- "collectCoverageFrom" : [
83
- " dist/**/*.js"
84
- ],
85
- "testMatch" : [
86
- " **/*[tT]est.js"
87
- ],
83
+ "testMatch" : [" **/*[tT]est.ts" ],
88
84
"testTimeout" : 100000
89
85
},
90
86
"scripts" : {
94
90
"dn.publish" : " npm run dn.build && dotnet publish -c release openapi-diff/src/core/OpenApiDiff/OpenApiDiff.csproj" ,
95
91
"dn.test" : " npm run dn.build && dotnet test openapi-diff/src/modeler/AutoRest.Swagger.Tests/AutoRest.Swagger.Tests.csproj" ,
96
92
"tsc" : " tsc" ,
97
- "ts.test" : " tsc && jest" ,
93
+ "ts.test" : " jest" ,
98
94
"test" : " npm run dn.test && npm run ts.test" ,
99
95
"lint" : " eslint . --report-unused-disable-directives --max-warnings 0" ,
100
96
"lint:fix" : " eslint . --fix" ,
You can’t perform that action at this time.
0 commit comments