Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
],
coverageThreshold: {
global: {
branches: 30,
functions: 30,
lines: 40,
statements: 50,
},
},
transform: {
...tsjPreset.transform,
'\\.(svg)$': '/jest.transformer.js',
},
testMatch: tsjPreset.testMatch,
moduleFileExtensions: tsjPreset.moduleFileExtensions,
setupFilesAfterEnv: [require.resolve('./jest.setup.js')],
moduleNameMapper: {
'\\.css$': '/jest.styleMock.js',
},
};