How to write negative test cases in meteor

Framework : mocha
iam able to write positive test cases asynchronously.i want asynchronous negative unit test cases

any help?

thanks in advance.

More data is probably necessary to help you. Can you paste the test you are trying to write and why it’s not working?

I have found this post to be a very helpful pattern for mocha.

1 Like