-
Notifications
You must be signed in to change notification settings - Fork 29
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
When with fails, report not only the expected, but the actual. #29
base: main
Are you sure you want to change the base?
Conversation
Hey @ExploreMqt thanks for the pr You can use |
Thanks. Will do -----Original Message----- Hey @ExploreMqt thanks for the pr |
Sorry to be a pain @ExploreMqt - could you also add some tests for this? It'd be nice to have some tests to back up the code is doing what it is meant to. Let me know if you need help with this. |
You are not a pain. I was just at a loss as to where to put said test -----Original Message----- Sorry to be a pain @ExploreMqt - could you also add some tests for this? It'd be nice to have some tests to back up the code is doing what it is meant to. Let me know if you need help with this. |
Here all all the }).should.throw(chai.AssertionError, /have been called with/); You should write something like: }).should.throw(chai.AssertionError, /have been called with [4] but got [[1], [2], [3]]/); |
Hey @ExploreMqt do you think you will have some time available to update this? |
I haven't figured out a satisfactory solution for myself. So not at this point -----Original Message----- Hey @ExploreMqt do you think you will have some time available to update this? |
@ExploreMqt, |
@keithamus, In digging around I found many examples in chai's own code-base, as well as other plugins I wonder if you can review my solution here #52 |
No description provided.