1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-12-08 00:44:30 +01:00
.profile/jest.config.js

17 lines
457 B
JavaScript
Raw Normal View History

2021-04-20 01:15:07 +02:00
module.exports = {
roots: ['<rootDir>'],
transform: {
'^.+\\.(js|jsx|ts|tsx)$': 'babel-jest'
},
moduleDirectories: ['node_modules', './'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
2021-05-26 18:54:09 +02:00
testEnvironment: 'jsdom',
2021-04-20 01:15:07 +02:00
setupFilesAfterEnv: [
'@testing-library/jest-dom/extend-expect',
'@testing-library/react'
],
collectCoverage: true,
coverageDirectory: './coverage',
coverageReporters: ['text', 'cobertura']
}