added frontTest
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
9862960c99
commit
93e3ea103a
|
@ -33,22 +33,22 @@ describe('Ticket', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// describe('showLog()', () => {
|
describe('showLog()', () => {
|
||||||
// it('should show the popover status log', () => {
|
it('should show the popover status log', () => {
|
||||||
// controller.$.statusLog = {show: () => {}};
|
controller.$.statusLog = {show: () => {}};
|
||||||
// jest.spyOn(controller.$.statusLog, 'show');
|
jest.spyOn(controller.$.statusLog, 'show');
|
||||||
|
|
||||||
// const expedition = {id: 1};
|
const expedition = {id: 1};
|
||||||
|
|
||||||
// const event = new MouseEvent('click', {
|
const event = new MouseEvent('click', {
|
||||||
// view: $window,
|
view: $window,
|
||||||
// bubbles: true,
|
bubbles: true,
|
||||||
// cancelable: true
|
cancelable: true
|
||||||
// });
|
});
|
||||||
// controller.showLog(event, expedition);
|
controller.showLog(event, expedition);
|
||||||
|
|
||||||
// expect(controller.$.statusLog.show).toHaveBeenCalledWith();
|
expect(controller.$.statusLog.show).toHaveBeenCalledWith();
|
||||||
// });
|
});
|
||||||
// });
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue