-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
Replace Jasmine with Mocha + Chai #102
Comments
Hey, @justincy. I don't maintain things in this project, but I do follow the project a little. I have been studying Jasmine and Mocha+Chai for a bit. I only read up on them enough to know they are remarkably similar. Are Mocha + Chai better followed now? Besides more built-in asserts/expectations, do you know of anything that mocha+chai do better than Jasmine? |
Yes.
I just want to note that this is a big deal. While writing tests for the new places API on Friday, Jasmine's lack of useful asserts prevented me from testing as fully as I would have with Chai.
Not really. I can think of trivial things, such as not requiring all files to have the same suffix. In the end it's a combination of wanting better asserts and having a strong personal bias in favor of Mocha. |
That is good to know. Flexibility does sound like a plus. I keep hearing Mocha + Chai more than I hear Jasmine. Thanks. |
They are more flexible than Jasmine. I especially like how Chai has more built-in asserts/expectations.
The text was updated successfully, but these errors were encountered: