sentry_core::test

Function with_captured_events_options

Source
pub fn with_captured_events_options<F: FnOnce(), O: Into<ClientOptions>>(
    f: F,
    options: O,
) -> Vec<Event<'static>>
Expand description

Runs some code with the default test hub with the given options and returns the captured events.

See with_captured_envelopes_options