Skip to content

Commit 090bece

Browse files
committed
feat(cdk/testing): chore: fix spacing
Indentation and space changes based on review.
1 parent 2681ed8 commit 090bece

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/cdk/testing/protractor/protractor-element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class ProtractorElement implements TestElement {
220220
[{x: args[0], y: args[1]}] : []) as [{x: number, y: number}];
221221

222222
let actions = browser.actions()
223-
.mouseMove(await this.element.getWebElement(), ...offsetArgs);
223+
.mouseMove(await this.element.getWebElement(), ...offsetArgs);
224224

225225
for (const modifierKey of modifierKeys) {
226226
actions = actions.keyDown(modifierKey);

src/cdk/testing/test-element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ export interface TestElement {
7979
click(modifiers?: ModifierKeys): Promise<void>;
8080

8181
/** Click the element at the element's center. */
82-
click(location: 'center', modifiers?: ModifierKeys, ): Promise<void>;
82+
click(location: 'center', modifiers?: ModifierKeys): Promise<void>;
8383

8484
/**
8585
* Click the element at the specified coordinates relative to the top-left of the element.
8686
* @param relativeX Coordinate within the element, along the X-axis at which to click.
8787
* @param relativeY Coordinate within the element, along the Y-axis at which to click.
8888
* @param modifiers Modifier keys held while clicking
8989
*/
90-
click(relativeX: number, relativeY: number, modifiers?: ModifierKeys ): Promise<void>;
90+
click(relativeX: number, relativeY: number, modifiers?: ModifierKeys): Promise<void>;
9191

9292
/**
9393
* Right clicks on the element at the specified coordinates relative to the top-left of it.

0 commit comments

Comments
 (0)