rsnext/examples/with-jest-typescript/jest.config.js

13 lines
373 B
JavaScript
Raw Normal View History

const TEST_REGEX = '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|js?|tsx?|ts?)$'
module.exports = {
setupFiles: ['<rootDir>/jest.setup.js'],
testRegex: TEST_REGEX,
transform: {
'^.+\\.tsx?$': 'babel-jest'
},
testPathIgnorePatterns: ['<rootDir>/.next/', '<rootDir>/node_modules/'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
2019-06-28 15:09:27 +02:00
collectCoverage: false
}