1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00
joplin/packages/app-mobile/jest.config.js

27 lines
568 B
JavaScript
Raw Normal View History

module.exports = {
preset: 'react-native',
'moduleFileExtensions': [
'ts',
'tsx',
'js',
2023-07-18 15:58:06 +02:00
'jsx',
],
'transform': {
'\\.(ts|tsx)$': 'ts-jest',
},
testEnvironment: 'node',
testMatch: ['**/*.test.(ts|tsx)'],
testPathIgnorePatterns: ['<rootDir>/node_modules/'],
2023-07-18 15:58:06 +02:00
setupFilesAfterEnv: ['./jest.setup.js'],
// Do transform most packages in node_modules (transformations correct unrecognized
// import syntax)
transformIgnorePatterns: ['<rootDir>/node_modules/jest', '<rootDir>/node_modules/js-draw', 'node_modules/jsdom'],
slowTestThreshold: 40,
};