2017-12-06 01:29:48 +01:00
|
|
|
import { createAutoJunitReporter } from '../../src/dev';
|
|
|
|
|
|
|
|
export default {
|
2015-01-23 19:34:29 +01:00
|
|
|
options: {
|
2015-08-10 08:00:18 +02:00
|
|
|
timeout: 10000,
|
|
|
|
slow: 5000,
|
2015-01-23 19:34:29 +01:00
|
|
|
ignoreLeaks: false,
|
2017-12-06 01:29:48 +01:00
|
|
|
reporter: createAutoJunitReporter({
|
2018-03-15 01:55:50 +01:00
|
|
|
reportName: 'Server Mocha Tests',
|
2017-12-06 01:29:48 +01:00
|
|
|
}),
|
|
|
|
globals: ['nil'],
|
2015-01-23 19:34:29 +01:00
|
|
|
},
|
2015-07-26 19:05:57 +02:00
|
|
|
all: {
|
|
|
|
src: [
|
2015-10-14 21:48:51 +02:00
|
|
|
'test/**/__tests__/**/*.js',
|
2015-07-26 19:05:57 +02:00
|
|
|
'src/**/__tests__/**/*.js',
|
2018-02-14 18:57:13 +01:00
|
|
|
'packages/kbn-pm/**/__tests__/**/*.js',
|
2018-02-13 21:49:55 +01:00
|
|
|
'packages/kbn-datemath/test/**/*.js',
|
2018-03-15 01:55:50 +01:00
|
|
|
'packages/kbn-dev-utils/**/__tests__/**/*.js',
|
2017-05-24 17:34:55 +02:00
|
|
|
'tasks/**/__tests__/**/*.js',
|
2015-10-14 22:20:14 +02:00
|
|
|
'test/fixtures/__tests__/*.js',
|
2017-11-22 01:05:46 +01:00
|
|
|
'!**/__tests__/fixtures/**/*',
|
2016-11-11 03:25:19 +01:00
|
|
|
'!src/**/public/**',
|
2018-03-15 01:55:50 +01:00
|
|
|
'!**/_*.js',
|
|
|
|
],
|
|
|
|
},
|
2015-01-23 19:34:29 +01:00
|
|
|
};
|