blakeblackshear.frigate/web/jest.config.js

13 lines
338 B
JavaScript
Raw Normal View History

2021-02-09 20:35:33 +01:00
module.exports = {
moduleFileExtensions: ['js', 'jsx'],
name: 'react-component-benchmark',
resetMocks: true,
roots: ['<rootDir>'],
setupFilesAfterEnv: ['<rootDir>/config/setupTests.js'],
testEnvironment: 'jsdom',
timers: 'fake',
2021-06-10 21:52:22 +02:00
moduleNameMapper: {
2021-06-10 21:56:00 +02:00
'\\.(scss|sass|css)$': '<rootDir>/src/__mocks__/styleMock.js'
2021-06-10 21:52:22 +02:00
}
2021-02-09 20:35:33 +01:00
};