module.exports = { rootDir: '../', transform: { '\\.(js|jsx)?$': 'babel-jest', }, testMatch: ['/__test__/(*.)test.{js, jsx}'], moduleFileExtensions: ['js', 'jsx', 'json'], testPathIgnorePatterns: ['/.next/', '/node_modules/'], };