¿Cómo bloquear la función que tiene Exegesis.CreateController?
Función real:
export const permanentlyFailed = Exegesis.CreateController(async (context: ExegesisContext) => {}Prueba de troquelado:
const deliveryGetDeliveryRateStub = sandbox.stub(Delivery, "getDeliveryRates").withArgs(sinon.match.any).callsFake(() => { return "whatever" })esperar (entregaGetDeliveryRateStub.llamado).para.ser.verdadero