diff --git a/test/file_poller.js b/test/file_poller.js index 8f361bc..d8a194a 100644 --- a/test/file_poller.js +++ b/test/file_poller.js @@ -19,7 +19,7 @@ var filepath = path.resolve.apply(path, [ __dirname ].concat(pathArg)); function writeToFile () { setTimeout(function () { - fs.writeFile(filepath, ''); + fs.writeFile(filepath, '', function () { }); return writeToFile(); }, 0); }