Karma needs js files to be emitted

This commit is contained in:
Franck Royer 2021-07-14 12:13:03 +10:00
parent 7fa919273b
commit d24afafc82
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module.exports = function (config) {
browsers: ['Chromium'],
singleRun: true,
karmaTypescriptConfig: {
tsconfig: './tsconfig.dev.json',
tsconfig: './tsconfig.karma.json',
coverageOptions: {
instrumentation: false,
},

7
tsconfig.karma.json Normal file
View File

@ -0,0 +1,7 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"noEmit": false
},
"exclude": ["node_modules/**"]
}