Merge karma tsconfig in karma conf

This commit is contained in:
Franck Royer 2021-07-15 11:10:19 +10:00
parent 2715fe0e8c
commit d12430e19b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 12 additions and 13 deletions

View File

@ -19,10 +19,21 @@ module.exports = function (config) {
bundlerOptions: {
entrypoints: /.*\.browser\.spec\.ts$/,
},
tsconfig: './tsconfig.karma.json',
coverageOptions: {
instrumentation: false,
},
tsconfig: './tsconfig.json',
compilerOptions: {
noEmit: false,
},
include: {
mode: 'replace',
values: ['src/lib/**/*.ts', 'src/proto/**/*.ts'],
},
exclude: {
mode: 'replace',
values: ['node_modules/**'],
},
},
});
};

View File

@ -1,12 +0,0 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"noEmit": false
},
"include": [
"src/lib/**/*.ts",
"src/proto/**/*.ts",
"src/tests/browser/**/*.ts"
],
"exclude": ["node_modules/**"]
}