hexo/node_modules/moize/jest.config.js

13 lines
401 B
JavaScript

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,
};