Skip to content

Commit c952efe

Browse files
committed
Fix types
1 parent 8daa759 commit c952efe

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

typings/tests/helpers/WebDriverIO.types.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,6 @@ expectType<void>(wd.scrollPageToTop());
405405

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

408-
expectError(wd.setGeoLocation());
409-
expectError(wd.setGeoLocation(num));
410-
expectType<void>(wd.setGeoLocation(num, num));
411-
expectType<void>(wd.setGeoLocation(num, num, num));
412-
413408
expectError(wd.dontSeeCookie());
414409
expectType<void>(wd.dontSeeCookie(str));
415410

@@ -480,8 +475,6 @@ psp.then(
480475
},
481476
);
482477

483-
expectType<Promise<{ latitude: number; longitude: number; altitude: number; }>>(wd.grabGeoLocation());
484-
485478
expectError(wd.grabElementBoundingRect());
486479
//expectType<Promise<number>>(wd.grabElementBoundingRect('h3'));
487480
//expectType<Promise<number>>(wd.grabElementBoundingRect('h3', 'width'));

0 commit comments

Comments
 (0)