Skip to content

Commit 3d161ef

Browse files
Simplifying tsconfig.test.json to inherit from standard tsconfig.:
1 parent 7d05978 commit 3d161ef

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"allowJs": true,
99
"noImplicitAny": true,
1010
"moduleResolution": "node",
11+
"esModuleInterop": true,
1112
"importHelpers": true,
1213
"isolatedModules": true,
1314
"allowSyntheticDefaultImports": true,

tsconfig.test.json

+2-18
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
11
{
2+
"extends": "./tsconfig.json",
23
"compilerOptions": {
3-
"baseUrl": ".",
4-
"inlineSourceMap": true,
5-
"inlineSources": true,
6-
"module": "ESNext",
7-
"target": "ES6",
8-
"allowJs": true,
9-
"noImplicitAny": true,
10-
"moduleResolution": "node",
11-
"importHelpers": true,
12-
"esModuleInterop": true,
13-
"isolatedModules": true,
14-
"allowSyntheticDefaultImports": true,
15-
"lib": ["DOM", "ES5", "ES6", "ES7"],
16-
"plugins": [
17-
{ "transform": "ts-auto-mock/transformer", "cacheBetweenTests": false }
18-
],
194
"paths": {
205
"obsidian": ["./mocks/obsidian.ts"]
216
}
22-
},
23-
"include": ["**/*.ts"]
7+
}
248
}

0 commit comments

Comments
 (0)