actual/packages/loot-design/jest.config.js
2022-08-24 20:21:35 +01:00

15 lines
454 B
JavaScript

module.exports = {
moduleFileExtensions: ['testing.js', 'web.js', 'mjs', 'js', 'ts', 'json'],
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'
}
};