Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
chore: test windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Sep 5, 2019
1 parent 54394e7 commit e1346b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const daemonReady = (daemon, fn) => {
} catch (err) {
reject(err)
}
daemon.kill()
daemon.cancel()
}
})
daemon.stderr.on('data', () => reject(new Error('Daemon didnt start')))
Expand Down
1 change: 1 addition & 0 deletions test/utils/ipfs-exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = (repoPath, opts) => {
return res.stdout
})

res.cancel = cp.cancel.bind(cp)
res.kill = cp.kill.bind(cp)
res.stdin = cp.stdin
res.stdout = cp.stdout
Expand Down

0 comments on commit e1346b5

Please sign in to comment.