Skip to content
2 changes: 1 addition & 1 deletion frontend/src/__tests__/purchase-execution-toast.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ describe('handleFanOutExecute — fan-out path', () => {
describe('handleExecutePurchase — double-submit guard (#644)', () => {
beforeEach(() => {
jest.clearAllMocks();
(recs.getFanOutBuckets as jest.Mock).mockReturnValue([]);
(recs.getFanOutBuckets as jest.Mock).mockReturnValue(null);
(recs.getPurchaseModalRecommendations as jest.Mock).mockReturnValue([buildMinimalRec()]);
(plans.closePurchaseModal as jest.Mock).mockImplementation(() => undefined);
});
Expand Down
Loading
Loading