Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: TT-582 add missing unit test to confirm that clockout function i…
…n TimeEntriesSummaryComponent emits an event
  • Loading branch information
LuisMS7 committed Mar 14, 2022
commit 6c162561964f6e8e472676406dc2367e7f8a4d81
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,11 @@ describe('TimeEntriesSummaryComponent', () => {
discardPeriodicTasks();
}));

it('clockOut should emits event', () => {
spyOn(component.clockoutEvent, 'emit');
component.clockOut();

expect(component.clockoutEvent.emit).toHaveBeenCalled();
});

});