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
I think describeAs is such a special-case-matcher that it would be OK to extend the matcher-API with this fluent method.
Another Idea would be to have a "fluent wrapper" for such cases which would be extendable. I just can't come up with a cool name for it ("more","multi","extend",...?):
Instead of writing:
it would be more "intuitive" to be able to write:
I think describeAs is such a special-case-matcher that it would be OK to extend the matcher-API with this fluent method.
Another Idea would be to have a "fluent wrapper" for such cases which would be extendable. I just can't come up with a cool name for it ("more","multi","extend",...?):
Or maybe a combination of both worlds:
What do you think about it?
The text was updated successfully, but these errors were encountered: