AntiPattern

Async Test Mock Mismatch

async-mock-fixture-mismatch

Async test doubles and fixtures mis-handle awaitables or event loops, so mocks return coroutines or lose await tracking, and async fixtures run on the wrong loop, causing errors that masquerade as application failures.