Skip to content

Commit 665eec4

Browse files
Use __dirname instead of relying on the CWD, since this file is used by mocks
1 parent 1b68266 commit 665eec4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/utils/files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const fs = require("fs");
44
const path = require("path");
55
const mkdirp = require("mkdirp");
66

7-
const tempDir = path.resolve("test", ".tmp");
7+
const tempDir = path.resolve(__dirname, "..", ".tmp");
88

99
const files = module.exports = {
1010
/**

0 commit comments

Comments
 (0)