mirror of https://github.com/waku-org/js-waku.git
25 lines
626 B
JavaScript
25 lines
626 B
JavaScript
|
module.exports = function (config) {
|
||
|
config.set({
|
||
|
frameworks: ['mocha', 'karma-typescript'],
|
||
|
files: [{ pattern: 'src/**/*browser.spec.ts' }],
|
||
|
preprocessors: {
|
||
|
'**/*.ts': ['karma-typescript'],
|
||
|
},
|
||
|
plugins: [
|
||
|
require('karma-mocha'),
|
||
|
require('karma-typescript'),
|
||
|
require('karma-chrome-launcher'),
|
||
|
],
|
||
|
logLevel: config.LOG_DEBUG,
|
||
|
reporters: ['progress', 'karma-typescript'],
|
||
|
browsers: ['Chromium'],
|
||
|
singleRun: true,
|
||
|
karmaTypescriptConfig: {
|
||
|
tsconfig: './tsconfig.dev.json',
|
||
|
coverageOptions: {
|
||
|
instrumentation: false,
|
||
|
},
|
||
|
},
|
||
|
});
|
||
|
};
|