Skip to content

Commit ff8cc1a

Browse files
committed
chore: tune tsconfig & jest
1 parent 125bcd2 commit ff8cc1a

File tree

3 files changed

+11
-22
lines changed

3 files changed

+11
-22
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
preset: 'ts-jest',
33
globals: {
44
'ts-jest': {
5-
tsConfig: '<rootDir>/tsconfig.test.json',
5+
tsConfig: '<rootDir>/tsconfig.json',
66
isolatedModules: true,
77
diagnostics: false,
88
},

tsconfig.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
{
22
"compilerOptions": {
3-
"composite": true,
3+
"noEmit": true,
4+
"target": "es5",
5+
"module": "commonjs",
6+
"strict": true,
7+
"rootDir": "./src",
8+
"outDir": "./lib",
9+
"lib": ["es2017"],
10+
"moduleResolution": "node",
411
"esModuleInterop": true,
12+
"forceConsistentCasingInFileNames": true,
513
},
6-
"files": [],
7-
"include": [],
8-
"exclude": ["**/node_modules"],
9-
"references": [{ "path": "./tsconfig.build.json" }]
14+
"include": ["src/**/*"]
1015
}

tsconfig.test.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)