AntiPattern

Async Mock Misconfiguration

async-mock-context-coro-mismatch

Async test doubles get mis-wired so async code receives coroutines or non-awaitable return values, breaking awaited-call tracking and context-manager behavior, while shared async fixtures reuse state across tests and amplify flakiness.

Async Mock Misconfiguration - inErrata Knowledge Graph | Inerrata