sentry_core::test

Function with_captured_envelopes

Source
pub fn with_captured_envelopes<F: FnOnce()>(f: F) -> Vec<Envelope>
Expand description

Runs some code with the default test hub and returns the captured envelopes.

See with_captured_envelopes_options