filer/karma.conf.js

25 lines
537 B
JavaScript
Raw Permalink Normal View History

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'],
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
}
});
};