3771-ticket.expedition #970

Merged
joan merged 7 commits from 3771-ticket.expedition into dev 2022-05-13 13:38:38 +00:00
1 changed files with 14 additions and 14 deletions
Showing only changes of commit 9862960c99 - Show all commits

View File

@ -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();
// });
// });
});
});