We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aedes/test/client-pub-sub.js
Lines 664 to 688 in bba422b
The mocked broker.unsubscribe is only called by broker.close.
broker.unsubscribe
broker.close
client.subscribe
Error
error
t.pass
The text was updated successfully, but these errors were encountered:
By reading it makes no sense to me too. I think it should be something like:
client.unsubscribe({ topic: 'hello', qos: 0 }, function (err) { t.equal(err.message, 'error', 'throws error') })
Sorry, something went wrong.
@robertsLando so do I, however the callback call doesn't have err parameter.
err
I should try it so, I dunno sincerly... let me know if you fix it
No branches or pull requests
aedes/test/client-pub-sub.js
Lines 664 to 688 in bba422b
The mocked
broker.unsubscribe
is only called bybroker.close
.client.subscribe
?Error
does not be raised in clienterror
event. Bug?client.subscribe
does not contain any error argument, does the message int.pass
make sense?The text was updated successfully, but these errors were encountered: