You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
431 B
11 lines
431 B
// Testing hooks
|
|
const fn = (msg, config) => config.logger.log(msg);
|
|
|
|
module.exports = {
|
|
silent: process.env.SILENT ? true : false,
|
|
istanbulReporter: ['json-summary', 'text'],
|
|
onServerReady: fn.bind(null, 'running onServerReady'),
|
|
onTestsComplete: fn.bind(null, 'running onTestsComplete'),
|
|
onCompileComplete: fn.bind(null, 'running onCompileComplete'),
|
|
onIstanbulComplete: fn.bind(null, 'running onIstanbulComplete')
|
|
}
|
|
|