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
Is your feature request related to a problem? Please describe.
expect failure messages like "error: AssertionError: Expected 0 to be greater than 0" could be more informative. The ability to add a failure message to the expect would be very useful, and many testing libraries allow supplying a custom message for a given expectation.
Is your feature request related to a problem? Please describe.
expect
failure messages like "error: AssertionError: Expected 0 to be greater than 0" could be more informative. The ability to add a failure message to the expect would be very useful, and many testing libraries allow supplying a custom message for a given expectation.Demand for this feature can be seen at
https://stackoverflow.com/questions/45348083/how-to-add-custom-message-to-jest-expect.
Describe the solution you'd like
From the jest-expect-message library:
Describe alternatives you've considered
@std/assert
doesn't mention any message capabilities either.The text was updated successfully, but these errors were encountered: