2018-07-15 17:03:28 +00:00
|
|
|
module.exports = function(config) {
|
|
|
|
config.set({
|
|
|
|
singleRun: true,
|
|
|
|
basePath: '',
|
|
|
|
files: ['tests/dist/index.js'],
|
|
|
|
frameworks: ['mocha', 'chai'],
|
2018-12-02 15:18:09 +00:00
|
|
|
reporters: ['mocha', 'summary'],
|
2018-07-15 17:03:28 +00:00
|
|
|
client: {
|
|
|
|
mocha: {
|
|
|
|
ui: 'bdd',
|
|
|
|
timeout: 5000,
|
|
|
|
slow: 250
|
|
|
|
}
|
2018-12-02 15:18:09 +00:00
|
|
|
},
|
|
|
|
summaryReporter: {
|
|
|
|
// 'failed', 'skipped' or 'all'
|
|
|
|
show: 'failed',
|
|
|
|
// Limit the spec label to this length
|
|
|
|
specLength: 50,
|
|
|
|
// Show an 'all' column as a summary
|
|
|
|
overviewColumn: true
|
2018-07-15 17:03:28 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
};
|