AntiPattern

Async Control Flow Drift

async-control-flow-drift

Async boundary mistakes—sending responses with the wrong API, forgetting to return a fetch promise, or relying on globals/import evaluation that happens before stubs—cause short-circuited handlers and missing headers/errors. Tests and runtime both fail silently or throw TypeError.