We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47cac1d commit 306e60dCopy full SHA for 306e60d
src/cdk/testing/protractor/protractor-element.ts
@@ -84,7 +84,7 @@ export class ProtractorElement implements TestElement {
84
// Omitting the offset argument to mouseMove results in clicking the center.
85
// This is the default behavior we want, so we use an empty array of offsetArgs if no args are
86
// passed to this method.
87
- const offsetArgs = args.length == 2 ? [{x: args[0], y: args[1]}] : [];
+ const offsetArgs = args.length === 2 ? [{x: args[0], y: args[1]}] : [];
88
89
await browser.actions()
90
.mouseMove(await this.element.getWebElement(), ...offsetArgs)
0 commit comments