module.exports = { preset: 'react-native', 'moduleFileExtensions': [ 'ts', 'tsx', 'js', 'jsx', ], 'transform': { '\\.(ts|tsx)$': 'ts-jest', }, testEnvironment: 'jsdom', testMatch: ['**/*.test.(ts|tsx)'], testPathIgnorePatterns: ['/node_modules/'], setupFilesAfterEnv: ['./jest.setup.js'], // Do transform most packages in node_modules (transformations correct unrecognized // import syntax) transformIgnorePatterns: ['/node_modules/jest', '/node_modules/js-draw'], slowTestThreshold: 40, };