actual/packages/loot-design/jest.config.js

16 lines
454 B
JavaScript
Raw Permalink Normal View History

2022-04-29 02:44:38 +00:00
module.exports = {
2022-05-07 12:33:17 +00:00
moduleFileExtensions: ['testing.js', 'web.js', 'mjs', 'js', 'ts', 'json'],
2022-04-29 02:44:38 +00:00
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['<rootDir>/src/setupTests.js'],
testPathIgnorePatterns: [
'/node_modules/',
'/lib/',
'/src/components/mobile/'
],
moduleNameMapper: {
'^react-native$': 'react-native-web',
'^.+\\.(css|sass|scss)$': 'identity-obj-proxy',
'^.+\\.(png)$': '<rootDir>/__mocks__/fileMock.js'
}
};