From a3e8b55f3499916061aebbe6333cd012d658bbb4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 7 Jan 2019 21:52:24 -0800 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/25386 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: James M Snell --- test/pummel/test-fs-watch-non-recursive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pummel/test-fs-watch-non-recursive.js b/test/pummel/test-fs-watch-non-recursive.js index da11b423a686e0..c459acb14ec483 100644 --- a/test/pummel/test-fs-watch-non-recursive.js +++ b/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');