You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to happen?
Documentation should be up to date.
Error messages from assertions should be accurate.
What actually happens
Documentation still lists the predefined assert defined, and not isUndefined.
Error message from predefined assert equals gives the following error message if the expectiation value is undefined:
AssertionError: [assert.equals] Expectation for equals should not be undefined. Use assert.defined or refute.defined instead.
How to reproduce assert.equals('not undefined', undefined)
The text was updated successfully, but these errors were encountered:
I could, but since I've never made a contribution to this project before it probably will take some time. Guess there's no rush if I'm the only one complaining on a change that's over a year old though :)
I noticed while doing the PR that even though the docs in the repo has been updated, the website (https://sinonjs.github.io/referee) still shows what I assume is an old version. So I guess that needs to be updated too?
What did you expect to happen?
Documentation should be up to date.
Error messages from assertions should be accurate.
What actually happens
Documentation still lists the predefined assert defined, and not isUndefined.
Error message from predefined assert equals gives the following error message if the expectiation value is undefined:
How to reproduce
assert.equals('not undefined', undefined)
The text was updated successfully, but these errors were encountered: