-
-
Notifications
You must be signed in to change notification settings - Fork 255
Mocha overrides #1033
Comments
I got it to behave correctly by removing the override (directly editing the override in my package.json) and installing diff with I don't have enough confidence about jspm configuration to submit a pull request. |
See also #1022. |
Oh, I later noticed that this is a problem with the exceptions thrown by Chai, but not by Unexpected, and not if the test simply does something like |
Honestly I know little about test frameworks such as mocha, chai, and sinon. Instead I use tape + Thanks for linking that article here, it is indeed a great read and was a pleasure to read again. |
The overrides file for Mocha includes
which I think is probably why it behaves strangely when a test fails:
Mocha is trying to use
diff
to format its output for the failure (I assume), butdiff
is empty because of the override. Is this override needed for something?The text was updated successfully, but these errors were encountered: