bitque/react-client/jest.config.js

10 lines
324 B
JavaScript

module.exports = {
moduleFileExtensions: ['*', 'js', 'jsx'],
moduleDirectories: ['src', 'node_modules'],
moduleNameMapper: {
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'<rootDir>/jest/fileMock.js',
'\\.(css|scss|less)$': '<rootDir>/jest/styleMock.js',
},
};