Skip to content

Commit

Permalink
test: simplify tmpdir import in wasi tests
Browse files Browse the repository at this point in the history
PR-URL: #30770
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
Trott authored and BethGriggs committed Feb 6, 2020
1 parent 4ea1b81 commit fd33df7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/wasi/test-wasi-symlinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion test/wasi/test-wasi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit fd33df7

Please sign in to comment.