2019-11-24 13:13:37 +03:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
module.exports = function(config) {
|
|
|
|
config.set({
|
|
|
|
frameworks: [ 'mocha' ],
|
|
|
|
files: [
|
|
|
|
{ pattern: "./packages/ethers/dist/ethers-all.esm.min.js", type: "module" },
|
|
|
|
{ pattern: "./packages/tests/dist/tests.esm.js", type: "module" }
|
|
|
|
],
|
2019-08-19 18:53:58 +03:00
|
|
|
reporters: ['karma'],
|
|
|
|
plugins: [
|
|
|
|
'karma-mocha',
|
|
|
|
'karma-chrome-launcher',
|
|
|
|
require('./packages/tests/karma-reporter')
|
|
|
|
],
|
2019-11-24 13:13:37 +03:00
|
|
|
port: 9876,
|
|
|
|
logLevel: config.LOG_INFO,
|
|
|
|
browsers: [ 'ChromeHeadless' ],
|
|
|
|
autoWatch: false,
|
|
|
|
singleRun: true,
|
2019-08-19 18:53:58 +03:00
|
|
|
browserNoActivityTimeout: 60000
|
2019-11-24 13:13:37 +03:00
|
|
|
/*
|
|
|
|
client: {
|
|
|
|
mocha: {
|
|
|
|
grep: 'utf',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
})
|
|
|
|
}
|