diff --git a/test/watch.js b/test/watch.js index 86a10955..690266eb 100644 --- a/test/watch.js +++ b/test/watch.js @@ -27,7 +27,7 @@ function updateTempFile(path) { function removeTempFile(path) { setTimeout(function() { - fs.rmSync(path); + fs.unlinkSync(path); }, 125); }