-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
β¨ Feature proposal
Being able to match strictly a url path
π― Motivation
I will explain it with some examples, for better clarity.
With the current implementation this two expect will be true.
expect('/managers/').toHaveBeenFetched()
expect('/managers/?basic_data=incomplete').toHaveBeenFetched()
π Example
My idea is to have a mechanism to make exact match on the url. Something in the lines of
expect('/managers/').toHaveBeenFetchedExactPath()
π¬ Comments
There could be the possibility of making the current implementation of toHaveBeenFetched and alike to always match exactly. But I don't know if that may be a too aggressive change for the library.
Metadata
Metadata
Assignees
Labels
No labels