Closed
Description
I'm relatively new to unit testing, but I've been working with the specs that come with the generator; trying to learn more and see if I can help with the test coverage. I've found that Jasmine is a little heavy when setting up asynchronous tests. Perhaps I haven't given it enough of a chance.
Mocha on the other hand seems to be a good bit easier when it comes to async. I setup Mocha + Chai + Sinon for the server tests I was working on and really enjoyed the combo. Kinda got me thinking: why not use mocha with karma instead?
I installed karma-mocha
and everything seems to work great. So I'm wondering if anyone could outline Jasmine's advantages? Or would it possibly be more advantageous to use Mocha for server and client testing?