Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Jan 14, 2019
1 parent c462acc commit f3333eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"repository": "git://github.com/mafintosh/respawn.git",
"author": "Mathias Buus <[email protected]>",
"dependencies": {
"xtend": "~2.1.1",
"ps-tree": "~1.2.0"
"ps-tree": "^1.2.0",
"xtend": "^4.0.1"
},
"scripts": {
"test": "tap test/index.js"
"test": "tape test/index.js"
},
"devDependencies": {
"tap": "~0.4.6"
"tape": "^4.9.2"
},
"keywords": [
"spawn",
Expand Down
5 changes: 2 additions & 3 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var test = require('tap').test
var test = require('tape')
var path = require('path')
var util = require('util')
var respawn = require('../index')
Expand Down Expand Up @@ -129,8 +129,6 @@ test('start stop start', function(t) {
})

test('kill right away', function(t) {
t.plan(2)

var mon = respawn([node, crash], {maxRestarts:1, sleep:1})
var spawned = 0

Expand All @@ -140,6 +138,7 @@ test('kill right away', function(t) {

mon.on('stop', function() {
t.ok(true, 'should stop')
t.end()
})

mon.start()
Expand Down

0 comments on commit f3333eb

Please sign in to comment.