Skip to content

Commit

Permalink
test: Set default swipeFromTo delay value
Browse files Browse the repository at this point in the history
This prevents `pause` from being called without a parameter, which
throws an error.
  • Loading branch information
dcalhoun committed Oct 16, 2023
1 parent ad6e6c5 commit 8e7c4ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ const swipeFromTo = async (
driver,
from = defaultCoordinates,
to = defaultCoordinates,
delay
delay = 0
) =>
await driver
.action( 'pointer', {
Expand Down

0 comments on commit 8e7c4ff

Please sign in to comment.