Clear all stubs in the stub registry
See also
Other stub-registry:
StubRegistry
,
remove_request_stub()
,
stub_registry()
Examples
(x <- stub_request("get", "https://httpbin.org/get"))
#> <webmockr stub>
#> method: get
#> uri: https://httpbin.org/get
#> with:
#> query:
#> body:
#> request_headers:
#> auth:
#> to_return:
stub_registry()
#> <webmockr stub registry>
#> Registered Stubs
#> GET: https://httpbin.org/get
stub_registry_clear()
stub_registry()
#> <webmockr stub registry>
#> Registered Stubs