Skip to content

Commit

Permalink
Fix Wallaby.Element.location/1 spec (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirikid authored Jul 12, 2023
1 parent 9d75786 commit a7f7380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wallaby/element.ex
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ defmodule Wallaby.Element do
@doc """
Returns a tuple `{x, y}` with the coordinates of the left-top corner of given element.
"""
@spec location(t) :: t
@spec location(t) :: {non_neg_integer, non_neg_integer}

def location(%__MODULE__{driver: driver} = element) do
element
Expand Down

0 comments on commit a7f7380

Please sign in to comment.