mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
26 lines
401 B
JavaScript
26 lines
401 B
JavaScript
const baseConfig = require('../../jest.config.base.js');
|
|
|
|
module.exports = {
|
|
...baseConfig,
|
|
|
|
'moduleFileExtensions': [
|
|
'ts',
|
|
'tsx',
|
|
'js',
|
|
],
|
|
|
|
testEnvironment: 'node',
|
|
|
|
'transform': {
|
|
'\\.(ts|tsx)$': 'ts-jest',
|
|
},
|
|
|
|
testMatch: ['**/*.test.(ts|tsx)'],
|
|
|
|
testPathIgnorePatterns: ['<rootDir>/node_modules/'],
|
|
|
|
slowTestThreshold: 40,
|
|
|
|
setupFilesAfterEnv: [`${__dirname}/jest.setup.js`],
|
|
};
|