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