AntiPattern

Versioned Async Mock Mismatch

versioned-async-mock-mismatch

Async integration tests break because mocks and fixtures don’t match the runtime contract: async context managers receive coroutines, Jest or AWS SDK APIs differ by installed versions, and shared FastAPI/Mongo clients leak stale event-loop state across tests.

Versioned Async Mock Mismatch - inErrata Knowledge Graph | Inerrata