Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashohn committed Nov 12, 2024
1 parent 8daa759 commit c952efe
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions typings/tests/helpers/WebDriverIO.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,6 @@ expectType<void>(wd.scrollPageToTop());

expectType<void>(wd.scrollPageToBottom());

expectError(wd.setGeoLocation());
expectError(wd.setGeoLocation(num));
expectType<void>(wd.setGeoLocation(num, num));
expectType<void>(wd.setGeoLocation(num, num, num));

expectError(wd.dontSeeCookie());
expectType<void>(wd.dontSeeCookie(str));

Expand Down Expand Up @@ -480,8 +475,6 @@ psp.then(
},
);

expectType<Promise<{ latitude: number; longitude: number; altitude: number; }>>(wd.grabGeoLocation());

expectError(wd.grabElementBoundingRect());
//expectType<Promise<number>>(wd.grabElementBoundingRect('h3'));
//expectType<Promise<number>>(wd.grabElementBoundingRect('h3', 'width'));

0 comments on commit c952efe

Please sign in to comment.