diff --git a/test/async-hooks/test-statwatcher.js b/test/async-hooks/test-statwatcher.js index d67bef26eb1d09..1349fa87e6f511 100644 --- a/test/async-hooks/test-statwatcher.js +++ b/test/async-hooks/test-statwatcher.js @@ -11,7 +11,7 @@ const path = require('path'); if (!common.isMainThread) common.skip('Worker bootstrapping works differently -> different async IDs'); -tmpdir.refresh(); +tmpdir.refresh({ spawn: false }); const file1 = path.join(tmpdir.path, 'file1'); const file2 = path.join(tmpdir.path, 'file2');