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: nodejs#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 committed Jan 10, 2019
1 parent e18b461 commit 82f03f8
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 82f03f8

Please sign in to comment.