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

Commit a8002e5

Browse files
committed
fix: async auto
1 parent d268add commit a8002e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/src/name-pubsub/cancel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ module.exports = (createCommon, options) => {
6868
expect(err).to.exist()
6969
auto({
7070
subs1: (cb) => ipfs.name.pubsub.subs(cb),
71-
cancel: (cb) => ipfs.name.pubsub.cancel(ipnsPath, cb),
72-
subs2: (cb) => ipfs.name.pubsub.subs(cb)
71+
cancel: ['subs1', (_, cb) => ipfs.name.pubsub.cancel(ipnsPath, cb)],
72+
subs2: ['cancel', (_, cb) => ipfs.name.pubsub.subs(cb)]
7373
}, 1, (err, res) => {
7474
expect(err).to.not.exist()
7575
expect(res).to.exist()

0 commit comments

Comments
 (0)