mirror of
https://github.com/cupcakearmy/occulto.git
synced 2024-12-22 10:16:29 +00:00
21 lines
531 B
JavaScript
21 lines
531 B
JavaScript
module.exports = function (config) {
|
|
config.set({
|
|
frameworks: ['mocha'],
|
|
plugins: ['karma-mocha', 'karma-chrome-launcher', 'karma-firefox-launcher'],
|
|
|
|
basePath: '',
|
|
files: [
|
|
{ pattern: 'node_modules/chai/chai.js', type: 'module' },
|
|
{ pattern: 'dist/esm/**/*.js', type: 'module' },
|
|
{ pattern: 'test/**/*.js', type: 'module' },
|
|
],
|
|
|
|
browsers: ['ChromeHeadless', 'FirefoxHeadless'],
|
|
|
|
preprocessors: {},
|
|
reporters: ['progress'],
|
|
singleRun: true,
|
|
concurrency: Infinity,
|
|
})
|
|
}
|