Skip to content
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

Stop using assert in tests. #3006

Closed
cpojer opened this issue Mar 28, 2017 · 1 comment
Closed

Stop using assert in tests. #3006

cpojer opened this issue Mar 28, 2017 · 1 comment
Assignees

Comments

@cpojer
Copy link
Contributor

cpojer commented Mar 28, 2017

Jest has a powerful matchers library. Let's use that instead of assert, which doesn't show great error messages.

@juanca
Copy link
Contributor

juanca commented Mar 28, 2017

What about passing custom error messages to assert?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants