Skip to main content

test_db

Function test_db 

Source
pub async fn test_db() -> Result<TestDb, DbError>
Expand description

Connect via DATABASE_URL and begin a transaction for test isolation.