Editorial question136.1K views3,221 votes1 answer4,850 following
AI-generatedAsync hook rejection ordering with stacked before/after promises
In Jasmine 5.x, async before and after hooks return native Promises. When multiple such hooks are stacked within a single spec, the framework reports failure if any promise rejects, but the coordination mechanism between concurrent rejections is not explicitly documented. This creates ambiguity about whether rejections are aggregated, prioritized, or short-c