mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-12 08:54:00 +02:00
27 lines
547 B
JavaScript
27 lines
547 B
JavaScript
module.exports = {
|
|
preset: 'react-native',
|
|
|
|
'moduleFileExtensions': [
|
|
'ts',
|
|
'tsx',
|
|
'js',
|
|
'jsx',
|
|
],
|
|
|
|
'transform': {
|
|
'\\.(ts|tsx)$': 'ts-jest',
|
|
},
|
|
|
|
testEnvironment: 'jsdom',
|
|
testMatch: ['**/*.test.(ts|tsx)'],
|
|
|
|
testPathIgnorePatterns: ['<rootDir>/node_modules/'],
|
|
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'],
|
|
|
|
slowTestThreshold: 40,
|
|
};
|