stub_registry_clear {webmockr} | R Documentation |
stub_registry_clear
Description
Clear all stubs in the stub registry
Usage
stub_registry_clear()
Value
an empty list invisibly
See Also
Other stub-registry:
StubRegistry
,
remove_request_stub()
,
stub_registry()
Examples
(x <- stub_request("get", "https://httpbin.org/get"))
stub_registry()
stub_registry_clear()
stub_registry()
[Package webmockr version 1.0.0 Index]