This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/jest.config.js

15 lines
385 B
JavaScript
Raw Permalink Normal View History

2021-12-28 16:06:58 +01:00
const nextJest = require('next/jest')
const createJestConfig = nextJest()
const customJestConfig = {
moduleDirectories: ['node_modules', './'],
modulePathIgnorePatterns: ['<rootDir>/cypress'],
testEnvironment: 'jsdom',
setupFilesAfterEnv: [
'@testing-library/jest-dom/extend-expect',
'@testing-library/react'
]
}
module.exports = createJestConfig(customJestConfig)