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 <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and BethGriggs committed May 10, 2019
1 parent 5ecd765 commit a3e8b55
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 a3e8b55

Please sign in to comment.