We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c571c6 commit 0691be7Copy full SHA for 0691be7
test/es-module/test-esm-json.mjs
@@ -9,6 +9,8 @@ import * as tmpdir from '../common/tmpdir.js';
9
10
import secret from '../fixtures/experimental.json' with { type: 'json' };
11
12
+tmpdir.refresh();
13
+
14
describe('ESM: importing JSON', () => {
15
it('should load JSON', () => {
16
assert.strictEqual(secret.ofLife, 42);
0 commit comments