Skip to content

Commit

Permalink
fix: Copypaste in mobile method names (#1783)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Jun 23, 2023
1 parent 2f667a9 commit 710d246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/commands/geolocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ commands.mobileGetSimulatedLocation = async function mobileGetSimulatedLocation(
* @since 4.18
* @this {XCUITestDriver}
*/
commands.mobileSetSimulatedLocation = async function mobileGetSimulatedLocation(
commands.mobileSetSimulatedLocation = async function mobileSetSimulatedLocation(
latitude,
longitude
) {
Expand All @@ -52,7 +52,7 @@ commands.mobileSetSimulatedLocation = async function mobileGetSimulatedLocation(
* @since 4.18
* @this {XCUITestDriver}
*/
commands.mobileResetSimulatedLocation = async function mobileGetSimulatedLocation() {
commands.mobileResetSimulatedLocation = async function mobileResetSimulatedLocation() {
return await this.proxyCommand('/wda/simulatedLocation', 'DELETE');
};

Expand Down

0 comments on commit 710d246

Please sign in to comment.