kibana/tasks/config/simplemocha.js
Spencer c93160484e
[5.6] [dev/mocha/junit] report real skipped test count and errors from hooks (#15465) (#15478)
* [dev/mocha/junit] report real skipped test count and errors from hooks (#15465)

* [dev/mocha/junit] report real skipped test count and errors from hooks

* typo

* [grunt/simplemocha] update simplemocha patterns to exclude fixtures
2017-12-27 12:48:08 -07:00

24 lines
520 B
JavaScript

import { createAutoJunitReporter } from '../../src/dev';
export default {
options: {
timeout: 10000,
slow: 5000,
ignoreLeaks: false,
reporter: createAutoJunitReporter({
reportName: 'Server Mocha Tests'
}),
globals: ['nil'],
},
all: {
src: [
'test/**/__tests__/**/*.js',
'src/**/__tests__/**/*.js',
'tasks/**/__tests__/**/*.js',
'test/fixtures/__tests__/*.js',
'!**/__tests__/fixtures/**/*',
'!src/**/public/**',
'!**/_*.js'
]
}
};