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

feature discussion [using the chai expect message with assertions] #129

Open
aishwarya603 opened this issue Jul 23, 2018 · 0 comments
Open

Comments

@aishwarya603
Copy link

If any assert fails because of incorrect args the output doesn't explain actual/expected args. or else
If an assert is done in a loop, there are no args for a message value such as chai's expect. This makes it hard to determine which element in the loop caused the failure.

Can we use the message feature of chai .. If yes can you help with an example ?

@aishwarya603 aishwarya603 changed the title feature discussion [using the chai expect message with assetions] feature discussion [using the chai expect message with assertions] Jul 23, 2018
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

1 participant