2022-01-14 01:57:29 +00:00
|
|
|
// import settings from default config file
|
|
|
|
let properties = null;
|
|
|
|
const originalConfigFn = require('./karma.conf.js');
|
|
|
|
originalConfigFn({
|
|
|
|
set: function (arg) {
|
|
|
|
properties = arg;
|
|
|
|
},
|
|
|
|
});
|
2022-01-14 01:44:06 +00:00
|
|
|
|
2022-01-14 01:57:29 +00:00
|
|
|
// pass `--grep '[live data]'` to mocha to only run live data tests
|
|
|
|
properties.client.args = ['--grep', '[live data]]'];
|
|
|
|
|
|
|
|
// export settings
|
2022-01-14 01:44:06 +00:00
|
|
|
module.exports = function (config) {
|
2022-01-14 01:57:29 +00:00
|
|
|
config.set(properties);
|
2022-01-14 01:44:06 +00:00
|
|
|
};
|