Add Jest configuration file for testing setup
Some checks reported warnings
farmcontrol/farmcontrol-scheduler/pipeline/head This commit is unstable
Some checks reported warnings
farmcontrol/farmcontrol-scheduler/pipeline/head This commit is unstable
This commit is contained in:
parent
14299e00a1
commit
04eb087737
23
jest.config.cjs
Normal file
23
jest.config.cjs
Normal file
@ -0,0 +1,23 @@
|
||||
module.exports = {
|
||||
testEnvironment: 'node',
|
||||
transform: {},
|
||||
moduleFileExtensions: ['js', 'json', 'jsx', 'node'],
|
||||
testMatch: ['**/__tests__/**/*.js', '**/?(*.)+(spec|test).js'],
|
||||
verbose: true,
|
||||
reporters: [
|
||||
'default',
|
||||
[
|
||||
'jest-junit',
|
||||
{
|
||||
outputDirectory: '.',
|
||||
outputName: 'test-results.xml',
|
||||
suiteName: 'farmcontrol-ws-tests',
|
||||
classNameTemplate: '{classname}',
|
||||
titleTemplate: '{title}',
|
||||
ancestorSeparator: ' › ',
|
||||
usePathForSuiteName: 'true',
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user