You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
feat: accept Map and Set and flatten arguments
This commit is contained in:
@@ -506,7 +506,7 @@ describe('publish/subscribe', () => {
|
||||
})
|
||||
|
||||
it('executes when punsubscribe is called and there are no subscriptions', () => {
|
||||
return pub.batch().punsubscribe(helper.isDeepEqual([0, []])).exec()
|
||||
return pub.batch().punsubscribe().exec().then(helper.isDeepEqual([[0, []]]))
|
||||
})
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user