mirror of
https://github.com/cupcakearmy/occulto.git
synced 2024-12-22 08:46:27 +00:00
22 lines
542 B
JavaScript
22 lines
542 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/esm/**/*.js', type: 'module' },
|
|
{ pattern: 'test/**/*.js', type: 'module' },
|
|
],
|
|
|
|
browsers: ['ChromiumHeadless', 'FirefoxHeadless', 'WebKitHeadless'],
|
|
|
|
preprocessors: {},
|
|
reporters: ['progress'],
|
|
singleRun: false,
|
|
concurrency: Infinity,
|
|
})
|
|
}
|