diff --git a/jest.config.js b/jest.config.js index 1b2efe49..d28c85ad 100644 --- a/jest.config.js +++ b/jest.config.js @@ -11,6 +11,6 @@ module.exports = Object.assign(jestConfig, { moduleNameMapper: { ...jestConfig.moduleNameMapper, '^@testing-library/preact$': - '/../../node_modules/@testing-library/preact/dist/cjs/index.js', + '/node_modules/@testing-library/preact/dist/cjs/index.js', }, })