diff --git a/test/support/helper.js b/test/support/helper.js index 99671b8f..cb2075d2 100644 --- a/test/support/helper.js +++ b/test/support/helper.js @@ -29,9 +29,5 @@ assert.fileDoesNotExist = function(name) { }; assert.fileExists = function(name) { - try { - fs.statSync(name); - } catch(err) { - throw err; - } + fs.statSync(name); }; \ No newline at end of file