diff --git a/modules/ticket/front/expedition/index.spec.js b/modules/ticket/front/expedition/index.spec.js index bb2604132..586ef2109 100644 --- a/modules/ticket/front/expedition/index.spec.js +++ b/modules/ticket/front/expedition/index.spec.js @@ -33,22 +33,22 @@ describe('Ticket', () => { }); }); - // describe('showLog()', () => { - // it('should show the popover status log', () => { - // controller.$.statusLog = {show: () => {}}; - // jest.spyOn(controller.$.statusLog, 'show'); + describe('showLog()', () => { + it('should show the popover status log', () => { + controller.$.statusLog = {show: () => {}}; + jest.spyOn(controller.$.statusLog, 'show'); - // const expedition = {id: 1}; + const expedition = {id: 1}; - // const event = new MouseEvent('click', { - // view: $window, - // bubbles: true, - // cancelable: true - // }); - // controller.showLog(event, expedition); + const event = new MouseEvent('click', { + view: $window, + bubbles: true, + cancelable: true + }); + controller.showLog(event, expedition); - // expect(controller.$.statusLog.show).toHaveBeenCalledWith(); - // }); - // }); + expect(controller.$.statusLog.show).toHaveBeenCalledWith(); + }); + }); }); });