Skip to content
Permalink
Browse files

test: fix test/pummel/test-fs-watch-non-recursive.js

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 addaleax committed Jan 8, 2019
1 parent bdcf8f4 commit 65dfeeb9a97a3c2d2f1e105a879c2ab8e7548556
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/pummel/test-fs-watch-non-recursive.js
@@ -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');

0 comments on commit 65dfeeb

Please sign in to comment.
You can’t perform that action at this time.