Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 199c5c8

Browse files
committed
update test for ipfs.stop
1 parent ad039f2 commit 199c5c8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

js/src/miscellaneous.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,14 @@ module.exports = (common) => {
8282
})
8383
})
8484

85-
it('.shutdown support', (done) => { // must be last test to run
85+
// must be last test to run
86+
it('.stop', (done) => {
8687
// TODO: go-ipfs returns an error, https://github.com/ipfs/go-ipfs/issues/4078
87-
ipfs.shutdown((err) => {
88+
ipfs.stop((err) => {
8889
if (err && err.message !== 'read ECONNRESET') {
8990
expect(err).to.not.exist()
9091
}
91-
ipfs.shutdown((err) => {
92+
ipfs.stop((err) => {
9293
expect(err).to.exist()
9394
done()
9495
})

0 commit comments

Comments
 (0)