зеркало из https://github.com/electron/electron.git
add tests
This commit is contained in:
Родитель
74c7a9455b
Коммит
1bbd199e34
|
@ -7,7 +7,8 @@
|
|||
"url": "https://github.com/mafintosh/atom-shell"
|
||||
},
|
||||
"scripts": {
|
||||
"install": "node install.js"
|
||||
"install": "node install.js",
|
||||
"test": "tape test/*.js"
|
||||
},
|
||||
"bin": {
|
||||
"atom-shell": "run.bat"
|
||||
|
@ -17,7 +18,9 @@
|
|||
"extract-zip": "^1.0.3",
|
||||
"nugget": "^1.1.2"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"devDependencies": {
|
||||
"tape": "^3.0.1"
|
||||
},
|
||||
"author": "Mathias Buus",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
var tape = require('tape')
|
||||
var atom = require('../')
|
||||
var fs = require('fs')
|
||||
|
||||
tape('has binary', function(t) {
|
||||
t.ok(fs.existsSync(atom), 'atom-shell was downloaded')
|
||||
t.end()
|
||||
})
|
Загрузка…
Ссылка в новой задаче