Releases: wheresrhys/fetch-mock
Releases · wheresrhys/fetch-mock
Simplified call filtering
Feels like a big step forward in simplicity and power, emerging from the realisation that if a matcher is used to filter as a matcher after it's already been used to filter as a name of a route, then this will be a noop because only calls that satisfy the matcher will be included in the list to filter further
- matches using name (or inferred identifier) first
- If no routes have it as a name or identifier, just execute as a matcher
- Finally, if there are options provided filter further by executing these as a route
Easier to think about, document and implement
Also removed filtering by method from .done()
- in hindsight this was a poor idea to ever add
v7.0.0-alpha.6
publish alphas
options and Request made available in more consistent manner
v7.0.0-alpha.5 Update README.md
Matching on express path parameters
v7.0.0-alpha.4 Update README.md
reset() -> resetHistory()
Merge pull request #352 from wheresrhys/resetBehavior Reset behavior
v7.0.0-alpha.2
Prettier is a dev dependency
Move prettier to devDependencies (#333) So users of fetch-mock don't install it. Thanks!
Use prettier for linting
v6.5.1 use prettier (#327)
Configure to always fallback to network
v6.5.0 Add global switch to always fallback to network (#323)
Update readme
v6.4.4 Update README.md