* Build packages before running ESLint on CI * Add production task to kbn-build * Ensure packages are bootstrapped before running the build * Run ESLint on kbn-build
26 lines
569 B
JavaScript
26 lines
569 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',
|
|
'packages/kbn-build/**/__tests__/**/*.js',
|
|
'tasks/**/__tests__/**/*.js',
|
|
'test/fixtures/__tests__/*.js',
|
|
'!**/__tests__/fixtures/**/*',
|
|
'!src/**/public/**',
|
|
'!**/_*.js'
|
|
]
|
|
}
|
|
};
|