When with fails, report not only the expected, but the actual.#29
When with fails, report not only the expected, but the actual.#29ExploreMqt wants to merge 2 commits intochaijs:mainfrom
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.