Function start_api_mock

Source
pub async fn start_api_mock(mocks: Vec<Mock>) -> (MockServer, Configuration)
Expand description

Helper for testing the Bitwarden API using wiremock.

Warning: when using Mock::expected ensure server is not dropped before the test completes,