We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8ac5bf commit fe69440Copy full SHA for fe69440
src/app/courses/common/test-utils.ts
@@ -6,7 +6,9 @@ export const ButtonClickEvents = {
6
};
7
8
9
-export function click(el: DebugElement | HTMLElement, eventObj: any = ButtonClickEvents.left): void {
+export function click(el: DebugElement | HTMLElement,
10
+ eventObj: any = ButtonClickEvents.left): void {
11
+
12
if (el instanceof HTMLElement) {
13
el.click();
14
} else {
0 commit comments