expect icon indicating copy to clipboard operation
expect copied to clipboard

Add note about how optional messages work to documentation

Open panathea opened this issue 7 years ago • 0 comments

I was glad to see that expect works with custom messages, but had to look at the code to see exactly how and when they are fired, and how I should format them in order to stay consistent with the library's style.

It might be good to add a note explaining the tense of the default messages ("expected x") and how the optional message replaces this one, and how this might be useful (e.g. giving more meaning than "expected false to be truthy")

panathea avatar Jan 12 '18 15:01 panathea