diff --git a/modules/travel/front/thermograph/create/index.spec.js b/modules/travel/front/thermograph/create/index.spec.js index f6ee1f2c0..23976fc96 100644 --- a/modules/travel/front/thermograph/create/index.spec.js +++ b/modules/travel/front/thermograph/create/index.spec.js @@ -69,9 +69,7 @@ describe('Ticket', () => { controller.$.newThermographDialog = {show: jest.fn()}; controller.$.modelsModel = {refresh: jest.fn()}; controller.$.temperaturesModel = {refresh: jest.fn()}; - // jest.spyOn(controller.$.newThermographDialog, 'show'); - // jest.spyOn(controller.$.modelsModel, 'refresh'); - // jest.spyOn(controller.$.temperaturesModel, 'refresh'); + const event = new Event('click'); jest.spyOn(event, 'preventDefault');