* [mocha] use custom reporter for legible results in jenkins * [jest] use custom result processor for legible results in jenkins * [karma] enable junit output on CI * [mocha/junitReporter] accept rootDirectory as configuration * [jest/reporter] use reporters option added in jest 20 * [toolingLog] remove black/white specific colors * [dev/mocha/junit] no reason for junit to be a "reporter" * typos * [dev/mocha/junit] use else if * [karma/junit] use string#replace for explicitness * [junit] use test file path as "classname" * [ftr/mocha] no longer a "console" specific reporter
25 lines
520 B
JavaScript
25 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'
|
|
]
|
|
}
|
|
};
|