18 lines
519 B
JavaScript
18 lines
519 B
JavaScript
module.exports = {
|
|
moduleFileExtensions: ['testing.js', 'web.js', 'mjs', 'js', 'json'],
|
|
testEnvironment: 'jsdom',
|
|
setupFilesAfterEnv: ['<rootDir>/src/setupTests.js'],
|
|
transform: {
|
|
'.*': '<rootDir>/../../jest-babel-transformer'
|
|
},
|
|
testPathIgnorePatterns: [
|
|
'/node_modules/',
|
|
'/lib/',
|
|
'/src/components/mobile/'
|
|
],
|
|
moduleNameMapper: {
|
|
'^react-native$': 'react-native-web',
|
|
'^.+\\.(css|sass|scss)$': 'identity-obj-proxy',
|
|
'^.+\\.(png)$': '<rootDir>/__mocks__/fileMock.js'
|
|
}
|
|
};
|