2022-10-13 20:06:51 +00:00
|
|
|
module.exports = function (config) {
|
|
|
|
config.set({
|
|
|
|
frameworks: ['mocha'],
|
2022-10-16 00:45:17 +00:00
|
|
|
|
|
|
|
plugins: ['karma-mocha', '@endyjasmi/karma-playwright-launcher'],
|
2022-10-13 20:06:51 +00:00
|
|
|
|
|
|
|
basePath: '',
|
|
|
|
files: [
|
|
|
|
{ pattern: 'node_modules/chai/chai.js', type: 'module' },
|
|
|
|
{ pattern: 'dist/esm/**/*.js', type: 'module' },
|
|
|
|
{ pattern: 'test/**/*.js', type: 'module' },
|
|
|
|
],
|
|
|
|
|
2022-10-18 12:08:27 +00:00
|
|
|
browsers: ['ChromiumHeadless', 'FirefoxHeadless', 'WebKitHeadless'],
|
2022-10-13 20:06:51 +00:00
|
|
|
|
|
|
|
preprocessors: {},
|
|
|
|
reporters: ['progress'],
|
2022-10-16 00:45:17 +00:00
|
|
|
singleRun: false,
|
2022-10-13 20:06:51 +00:00
|
|
|
concurrency: Infinity,
|
|
|
|
})
|
|
|
|
}
|