mirror of https://github.com/waku-org/js-waku.git
Merge karma tsconfig in karma conf
This commit is contained in:
parent
2715fe0e8c
commit
d12430e19b
|
@ -19,10 +19,21 @@ module.exports = function (config) {
|
||||||
bundlerOptions: {
|
bundlerOptions: {
|
||||||
entrypoints: /.*\.browser\.spec\.ts$/,
|
entrypoints: /.*\.browser\.spec\.ts$/,
|
||||||
},
|
},
|
||||||
tsconfig: './tsconfig.karma.json',
|
|
||||||
coverageOptions: {
|
coverageOptions: {
|
||||||
instrumentation: false,
|
instrumentation: false,
|
||||||
},
|
},
|
||||||
|
tsconfig: './tsconfig.json',
|
||||||
|
compilerOptions: {
|
||||||
|
noEmit: false,
|
||||||
|
},
|
||||||
|
include: {
|
||||||
|
mode: 'replace',
|
||||||
|
values: ['src/lib/**/*.ts', 'src/proto/**/*.ts'],
|
||||||
|
},
|
||||||
|
exclude: {
|
||||||
|
mode: 'replace',
|
||||||
|
values: ['node_modules/**'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "./tsconfig",
|
|
||||||
"compilerOptions": {
|
|
||||||
"noEmit": false
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/lib/**/*.ts",
|
|
||||||
"src/proto/**/*.ts",
|
|
||||||
"src/tests/browser/**/*.ts"
|
|
||||||
],
|
|
||||||
"exclude": ["node_modules/**"]
|
|
||||||
}
|
|
Loading…
Reference in New Issue