stub_registry_clear: stub_registry_clear

View source: R/stub_registry_clear.R

stub_registry_clearR 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()

webmockr documentation built on March 7, 2023, 5:25 p.m.