add standard

This commit is contained in:
Max Ogden 2015-11-30 12:00:54 -08:00
parent 1ce13f2764
commit b1416644d5
3 changed files with 8 additions and 7 deletions

View file

@ -1,15 +1,15 @@
var tape = require('tape')
var electron = require('../')
var path = require('path');
var path = require('path')
var pathExists = require('path-exists')
var getHomePath = require('home-path')()
tape('has local binary', function(t) {
tape('has local binary', function (t) {
t.ok(pathExists.sync(electron), 'electron was downloaded')
t.end()
})
tape('has cache folder', function(t) {
tape('has cache folder', function (t) {
t.ok(pathExists.sync(path.join(getHomePath, './.electron')), 'cache exists')
t.end()
})