diff --git a/test/es-module/test-esm-json.mjs b/test/es-module/test-esm-json.mjs index 422a8f717594ab..47756136349cf7 100644 --- a/test/es-module/test-esm-json.mjs +++ b/test/es-module/test-esm-json.mjs @@ -9,6 +9,8 @@ import * as tmpdir from '../common/tmpdir.js'; import secret from '../fixtures/experimental.json' with { type: 'json' }; +tmpdir.refresh(); + describe('ESM: importing JSON', () => { it('should load JSON', () => { assert.strictEqual(secret.ofLife, 42);