You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* These are the default settings for all Jest tests, that can be overwritten in individual configs.
*
* Everything related to the code coverage has to be specified in the global config. https://github.com/facebook/jest/issues/4255#issuecomment-321939025
*/
export default {
moduleFileExtensions: ['js', 'json', 'ts'],
transform: {
'^.+\\.ts$': 'ts-jest',
},
moduleDirectories: ['node_modules', 'src'],
testEnvironment: 'node',
testRegex: '\\.spec\\.ts$',
// For the time being, as tests are split up in `npm run test`, the coverage should reside here.