diff --git a/jest.config.js b/jest.config.js index 3b1efcb..f6800c2 100644 --- a/jest.config.js +++ b/jest.config.js @@ -10,7 +10,7 @@ const config = { ], }, moduleNameMapper: { - "(^\\./.+)\\.js$": "$1", + "(^(\\./|\\.\\./).+)\\.js$": "$1", }, extensionsToTreatAsEsm: [".ts", ".tsx"], verbose: true,