diff --git a/yarn-project/noir-private-kernel/package.json b/yarn-project/noir-private-kernel/package.json index d44ae2ea461..48a53d4e633 100644 --- a/yarn-project/noir-private-kernel/package.json +++ b/yarn-project/noir-private-kernel/package.json @@ -22,7 +22,7 @@ "jest": { "preset": "ts-jest/presets/default-esm", "moduleNameMapper": { - "^(\\.{1,2}/.*)\\.m?js$": "$1" + "^(\\.{1,2}/.*)\\.[cm]?js$": "$1" }, "testRegex": "./src/.*\\.test\\.(js|mjs|ts)$", "rootDir": "./src"