sofie-testing 0.1.0

The test harness: a database per test, and the app served on it.
Documentation
1
2
3
4
5
6
7
use crate::TestApp;

/// What the app's mail jobs sent so far, through the fake transport: `drain` first.
#[must_use]
pub fn sent_mails(app: &TestApp) -> Vec<sofie_mail::Mail> {
    app.outbox.mails()
}