Learn R Programming

webmockr (version 2.0.0)

stub_registry_clear: stub_registry_clear

Description

Clear all stubs in the stub registry

Usage

stub_registry_clear()

Arguments

Value

an empty list invisibly

See Also

Other stub-registry: StubRegistry, remove_request_stub(), stub_registry()

Examples

Run this code
(x <- stub_request("get", "https://httpbin.org/get"))
stub_registry()
stub_registry_clear()
stub_registry()

Run the code above in your browser using DataLab