File tree Expand file tree Collapse file tree 2 files changed +26
-22
lines changed
Expand file tree Collapse file tree 2 files changed +26
-22
lines changed Original file line number Diff line number Diff line change 1+ import type { Config } from 'jest' ;
2+
3+ const config : Config = {
4+ 'preset' : 'ts-jest' ,
5+ 'testEnvironment' : 'node' ,
6+ 'roots' : [
7+ '<rootDir>/src' ,
8+ '<rootDir>/test'
9+ ] ,
10+ 'testMatch' : [
11+ '**/*.spec.ts' ,
12+ '**/*.test.ts'
13+ ] ,
14+ 'collectCoverageFrom' : [
15+ 'src/**/*.ts' ,
16+ '!src/**/*.d.ts'
17+ ] ,
18+ 'coverageDirectory' : 'coverage' ,
19+ 'coverageReporters' : [
20+ 'text-summary' ,
21+ 'html' ,
22+ 'lcov'
23+ ]
24+ } ;
25+
26+ export default config ;
Original file line number Diff line number Diff line change 2828 "files" : [
2929 " lib/**/*"
3030 ],
31- "jest" : {
32- "preset" : " ts-jest" ,
33- "testEnvironment" : " node" ,
34- "roots" : [
35- " <rootDir>/src" ,
36- " <rootDir>/test"
37- ],
38- "testMatch" : [
39- " **/*.spec.ts" ,
40- " **/*.test.ts"
41- ],
42- "collectCoverageFrom" : [
43- " src/**/*.ts" ,
44- " !src/**/*.d.ts"
45- ],
46- "coverageDirectory" : " coverage" ,
47- "coverageReporters" : [
48- " text-summary" ,
49- " html" ,
50- " lcov"
51- ]
52- },
5331 "repository" : {
5432 "type" : " git" ,
5533 "url" : " git+https://github.com/cope/preferans-score-js.git"
You can’t perform that action at this time.
0 commit comments