Skip to content

Commit

Permalink
test: fix test/pummel/test-fs-watch-non-recursive.js
Browse files Browse the repository at this point in the history
test-fs-watch-non-recursive was loading the `common/tmpdir` module as if
it were a built-in and was failing because of it. Fix the path. The test
now works.

PR-URL: #25386
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Trott authored and addaleax committed Jan 14, 2019
1 parent bdcf8f4 commit 65dfeeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pummel/test-fs-watch-non-recursive.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const common = require('../common');
const path = require('path');
const fs = require('fs');

const tmpdir = require('tmpdir');
const tmpdir = require('../common/tmpdir');

const testDir = tmpdir.path;
const testsubdir = path.join(testDir, 'testsubdir');
Expand Down

0 comments on commit 65dfeeb

Please sign in to comment.