diff --git a/npm/test/index.js b/npm/test/index.js index 446a5445d7b6..02dac6340c7b 100644 --- a/npm/test/index.js +++ b/npm/test/index.js @@ -1,8 +1,8 @@ var tape = require('tape') var electron = require('../') -var fs = require('fs') +var pathExists = require('path-exists') tape('has binary', function(t) { - t.ok(fs.existsSync(electron), 'electron was downloaded') + t.ok(pathExists.sync(electron), 'electron was downloaded') t.end() -}) \ No newline at end of file +})