mirror of
https://github.com/cupcakearmy/occulto.git
synced 2024-12-30 17:46:29 +00:00
22 lines
538 B
JavaScript
22 lines
538 B
JavaScript
module.exports = function (config) {
|
|
config.set({
|
|
frameworks: ['mocha'],
|
|
|
|
plugins: ['karma-mocha', '@endyjasmi/karma-playwright-launcher'],
|
|
|
|
basePath: '',
|
|
files: [
|
|
{ pattern: 'node_modules/chai/chai.js', type: 'module' },
|
|
{ pattern: 'dist/**/*.js', type: 'module' },
|
|
{ pattern: 'test/**/*.js', type: 'module' },
|
|
],
|
|
|
|
browsers: ['ChromiumHeadless', 'FirefoxHeadless', 'WebKitHeadless'],
|
|
|
|
preprocessors: {},
|
|
reporters: ['progress'],
|
|
singleRun: false,
|
|
concurrency: Infinity,
|
|
})
|
|
}
|