You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
naifu-frontend/jest.config.mjs

11 lines
351 B
JavaScript

import createConfig from 'next/jest.js'
const customJestConfig = {
setupFilesAfterEnv: ['<rootDir>/config/jest/setup.ts'],
collectCoverage: true,
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}', '!**/*.d.ts', '!**/node_modules/**'],
extensionsToTreatAsEsm: ['.jsx', '.ts', '.tsx'],
}
export default createConfig()(customJestConfig)