Skip to content

Commit 387f2de

Browse files
author
Predrag Stojadinovic
committed
chore: cleanup
1 parent 2ab122c commit 387f2de

File tree

2 files changed

+26
-22
lines changed

2 files changed

+26
-22
lines changed

jest.config.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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;

package.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,6 @@
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"

0 commit comments

Comments
 (0)