hexo/node_modules/moize/jest.config.js

13 lines
401 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
module.exports = {
coveragePathIgnorePatterns: ['node_modules', 'src/types.ts'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
roots: ['<rootDir>'],
setupFiles: ['<rootDir>/jest.init.js'],
testEnvironment: 'jsdom',
testRegex: '/__tests__/.*\\.(ts|tsx|js)$',
transform: {
'\\.(js|ts|tsx)$': 'babel-jest',
},
verbose: true,
};