File tree Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Original file line number Diff line number Diff line change 1+ import { Config } from "@jest/types" ;
2+ import "ts-jest" ;
3+
4+ const config : Config . InitialOptions = {
5+ coverageThreshold : {
6+ global : {
7+ statements : 100 ,
8+ branches : 100 ,
9+ functions : 100 ,
10+ lines : 100 ,
11+ } ,
12+ } ,
13+ globals : {
14+ "ts-jest" : {
15+ tsconfig : {
16+ esModuleInterop : true ,
17+ } ,
18+ } ,
19+ } ,
20+ preset : "ts-jest" ,
21+ testEnvironment : "node" ,
22+ testRegex : / t e s t \/ .* \/ .* .t e s t .t s / u. source ,
23+ } ;
24+
25+ export default config ;
Original file line number Diff line number Diff line change 2020 "validate:ts" : " tsc --noEmit --noImplicitAny --target es2020 --esModuleInterop --moduleResolution node test/typescript-validate.ts"
2121 },
2222 "prettier" : {},
23- "jest" : {
24- "coverageThreshold" : {
25- "global" : {
26- "statements" : 100 ,
27- "branches" : 100 ,
28- "functions" : 100 ,
29- "lines" : 100
30- }
31- },
32- "globals" : {
33- "ts-jest" : {
34- "tsconfig" : {
35- "esModuleInterop" : true
36- }
37- }
38- },
39- "preset" : " ts-jest" ,
40- "testEnvironment" : " node" ,
41- "testMatch" : null ,
42- "testRegex" : " test/.*/.*.test.ts"
43- },
4423 "dependencies" : {
4524 "@octokit/request-error" : " ^2.0.2" ,
4625 "aggregate-error" : " ^3.1.0" ,
4726 "debug" : " ^4.0.0"
4827 },
4928 "devDependencies" : {
29+ "@jest/types" : " ^26.6.2" ,
5030 "@octokit/tsconfig" : " ^1.0.1" ,
5131 "@octokit/webhooks-definitions" : " 3.53.3" ,
5232 "@pika/pack" : " ^0.5.0" ,
You can’t perform that action at this time.
0 commit comments