gitbeaker/jest.config.js
2018-10-09 21:05:35 -04:00

22 lines
442 B
JavaScript

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testRegex: '(/__tests__/.*|/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
testMatch: null,
testURL: 'http://localhost/',
coverageDirectory: './coverage/',
collectCoverage: true,
setupTestFrameworkScriptFile: 'jest-extended',
globals: {
'ts-jest': {
diagnostics: {
ignoreCodes: [2322, 2445, 7006, 7031, 2339, 7016, 7023, 7017, 2345, 6133],
},
},
},
};