assertSuccess

suspend fun <T> Flow<AsyncResult<T>>.assertSuccess(expected: T)

Asserts the first terminal emission from the flow is Success with the given expected value.