Skip to content

Commit

Permalink
chore: use separate tsconfig for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodin committed Sep 4, 2021
1 parent 3022907 commit 04cecec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion karma.conf.js
Expand Up @@ -161,7 +161,7 @@ module.exports = (config) => {
}),
rollupPluginTypescript({
isolatedModules: true,
tsconfig: require.resolve('./tsconfig.build.json'),
tsconfig: require.resolve('./tsconfig.test.json'),
}),
rollupPluginInstrumentTsCode(),
rollupPluginInjectCode({
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.build.json
Expand Up @@ -12,8 +12,6 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"skipLibCheck": true,
"inlineSourceMap": true,
"inlineSources": true,
"strict": true
},
"include": [
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.test.json
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.build.json",
"compilerOptions": {
"inlineSourceMap": true,
"inlineSources": true
}
}

0 comments on commit 04cecec

Please sign in to comment.