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 Aug. 29, 2022, 1:07 a.m.