617f21829b
Provides context for exceptions and node warnings (ex: UnhandledPromiseRejectionWarning) Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
21 lines
361 B
JavaScript
21 lines
361 B
JavaScript
require('../../test/mocha_setup');
|
|
|
|
module.exports = {
|
|
options: {
|
|
timeout: 10000,
|
|
slow: 5000,
|
|
ignoreLeaks: false,
|
|
reporter: 'spec',
|
|
globals: ['nil']
|
|
},
|
|
all: {
|
|
src: [
|
|
'test/**/__tests__/**/*.js',
|
|
'src/**/__tests__/**/*.js',
|
|
'test/fixtures/__tests__/*.js',
|
|
'!src/**/public/**',
|
|
'!**/_*.js'
|
|
]
|
|
}
|
|
};
|