We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0239b3a commit 05544f1Copy full SHA for 05544f1
1 file changed
tests/utils/path.ts
@@ -1,4 +1,4 @@
1
import path from "node:path";
2
3
-// Jest runs with cwd at the project root; keep it simple and stable.
4
-export const projectRoot = path.resolve(process.cwd());
+// Anchor to the repository layout rather than process cwd, which some tests mutate.
+export const projectRoot = path.resolve(__dirname, "..", "..");
0 commit comments