mirror of
https://github.com/elastic/kibana.git
synced 2025-04-20 07:48:52 -04:00
* [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
24 lines
520 B
JavaScript
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'
|
|
]
|
|
}
|
|
};
|