diff --git a/test/wasi/test-wasi-symlinks.js b/test/wasi/test-wasi-symlinks.js index 3829464198273b..7c6e6809738975 100644 --- a/test/wasi/test-wasi-symlinks.js +++ b/test/wasi/test-wasi-symlinks.js @@ -33,7 +33,7 @@ if (process.argv[2] === 'wasi-child') { const assert = require('assert'); const cp = require('child_process'); - const tmpdir = require('../../test/common/tmpdir'); + const tmpdir = require('../common/tmpdir'); // Setup the sandbox environment. tmpdir.refresh(); diff --git a/test/wasi/test-wasi.js b/test/wasi/test-wasi.js index fa2e0894c906ce..d1060f5b32d33d 100644 --- a/test/wasi/test-wasi.js +++ b/test/wasi/test-wasi.js @@ -3,7 +3,7 @@ const common = require('../common'); if (process.argv[2] === 'wasi-child') { const fixtures = require('../common/fixtures'); - const tmpdir = require('../../test/common/tmpdir'); + const tmpdir = require('../common/tmpdir'); const fs = require('fs'); const path = require('path');