add tests
This commit is contained in:
parent
74c7a9455b
commit
1bbd199e34
2 changed files with 13 additions and 2 deletions
|
@ -7,7 +7,8 @@
|
||||||
"url": "https://github.com/mafintosh/atom-shell"
|
"url": "https://github.com/mafintosh/atom-shell"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"install": "node install.js"
|
"install": "node install.js",
|
||||||
|
"test": "tape test/*.js"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"atom-shell": "run.bat"
|
"atom-shell": "run.bat"
|
||||||
|
@ -17,7 +18,9 @@
|
||||||
"extract-zip": "^1.0.3",
|
"extract-zip": "^1.0.3",
|
||||||
"nugget": "^1.1.2"
|
"nugget": "^1.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {
|
||||||
|
"tape": "^3.0.1"
|
||||||
|
},
|
||||||
"author": "Mathias Buus",
|
"author": "Mathias Buus",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
8
npm/test/index.js
Normal file
8
npm/test/index.js
Normal file
|
@ -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()
|
||||||
|
})
|
Loading…
Reference in a new issue