updates on the build
This commit is contained in:
@@ -480,7 +480,7 @@ describe('deliveries data layer', () => {
|
||||
// The integrity hazard behind the removed fallback: a cancelled booking
|
||||
// sitting against a consignment that is still out for delivery.
|
||||
endpoints.updateConsignmentStatus.mockRejectedValue({ httpStatus: 500, message: 'boom' });
|
||||
await cancelDeliveryAPI(converted, 'x').catch(() => {});
|
||||
await cancelDeliveryAPI(converted, 'x').catch(() => { });
|
||||
expect(endpoints.cancelBooking).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user