sentry::test
pub fn with_captured_envelopes<F>(f: F) -> Vec<Envelope> where F: FnOnce(),
Runs some code with the default test hub and returns the captured envelopes.
See with_captured_envelopes_options
with_captured_envelopes_options