Skip to content

Commit

Permalink
Angular Testing Course
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 2, 2019
1 parent c8ac5bf commit fe69440
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/courses/common/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ export const ButtonClickEvents = {
};


export function click(el: DebugElement | HTMLElement, eventObj: any = ButtonClickEvents.left): void {
export function click(el: DebugElement | HTMLElement,
eventObj: any = ButtonClickEvents.left): void {

if (el instanceof HTMLElement) {
el.click();
} else {
Expand Down

0 comments on commit fe69440

Please sign in to comment.