Skip to content

Commit 11e9d6e

Browse files
GeoffreyBoothRafaelGSS
authored andcommitted
test: make tmpdir.js importable from esm
PR-URL: #44322 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ian Sutherland <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 768c9cb commit 11e9d6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/common/tmpdir.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const tmpPath = path.join(testRoot, tmpdirName);
1919

2020
let firstRefresh = true;
2121
function refresh() {
22-
rmSync(this.path);
23-
fs.mkdirSync(this.path);
22+
rmSync(tmpPath);
23+
fs.mkdirSync(tmpPath);
2424

2525
if (firstRefresh) {
2626
firstRefresh = false;

0 commit comments

Comments
 (0)