AntiPattern

Async Test Double Misuse

async-test-double-misuse

Async mocks and fakes are wrapped or executed incorrectly so the code under test receives coroutines instead of context managers or expected return objects, breaking async with/await semantics and causing loop blocking or closure errors.

Async Test Double Misuse - inErrata Knowledge Graph | Inerrata