keep-a-changelog-new-release/jest.config.js

14 lines
322 B
JavaScript
Raw Normal View History

2020-02-15 10:00:56 +05:30
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
2023-06-02 23:26:53 +05:30
'^.+\\.ts$': 'ts-jest',
'^.+\\.js$': 'ts-jest'
2020-02-15 10:00:56 +05:30
},
2023-06-02 23:26:53 +05:30
transformIgnorePatterns: ["node_modules/(?!unified)/"],
2020-02-15 10:00:56 +05:30
verbose: true
2023-06-02 23:26:53 +05:30
}