diff options
Diffstat (limited to 'test/pummel/test-fs-watch-file.js')
-rw-r--r-- | test/pummel/test-fs-watch-file.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/pummel/test-fs-watch-file.js b/test/pummel/test-fs-watch-file.js index 7a8854860c..0d897bdc4a 100644 --- a/test/pummel/test-fs-watch-file.js +++ b/test/pummel/test-fs-watch-file.js @@ -46,10 +46,6 @@ const filenameThree = 'charm'; // Because the third time is const filenameFour = 'get'; process.on('exit', function() { - fs.unlinkSync(filepathOne); - fs.unlinkSync(filepathTwoAbs); - fs.unlinkSync(filenameThree); - fs.unlinkSync(filenameFour); assert.strictEqual(watchSeenOne, 1); assert.strictEqual(watchSeenTwo, 2); assert.strictEqual(watchSeenThree, 1); @@ -57,6 +53,7 @@ process.on('exit', function() { }); +tmpdir.refresh(); fs.writeFileSync(filepathOne, 'hello'); assert.throws( |