Skip to content

Commit 3f541d9

Browse files
committed
Remove unnecessary rounding.
1 parent 7f97729 commit 3f541d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/utils.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export class E2EUtils {
2828
*/
2929
expectLocation(element: FinderResult, {x, y}: Point): void {
3030
this._getElement(element).getLocation().then((location: Point) => {
31-
expect(location.x).toEqual(Math.round(x));
32-
expect(location.y).toEqual(Math.round(y));
31+
expect(location.x).toEqual(x);
32+
expect(location.y).toEqual(y);
3333
});
3434
}
3535

0 commit comments

Comments
 (0)