Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Exclude all non-matched option #6

Closed
Raido0812 opened this issue Oct 23, 2018 · 2 comments
Closed

[Enhancement] Exclude all non-matched option #6

Raido0812 opened this issue Oct 23, 2018 · 2 comments

Comments

@Raido0812
Copy link

Functionality to Exclude is awesome, but depending on project they might only want to mock a few calls and exclude all others. Perhaps an additional option to allow all non-matched urls to fallback to raw. Similar to fetch-mock's fallbackToNetwork option

@WhatAKitty
Copy link
Owner

WhatAKitty commented Oct 31, 2018

sounds not bad,do you want to pull request for this?

WhatAKitty added a commit that referenced this issue Feb 14, 2019
#6
true: Unhandled calls fall through to the network
false: Unhandled calls throw an error
'always': All calls fall through to the network, effectively disabling fetch-mock.
@WhatAKitty
Copy link
Owner

Down with new version 0.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants