Skip to content

Commit 7bdea30

Browse files
nickservgnapse
authored andcommitted
docs: Replace toHaveFormValue with toHaveFormValues (#156)
This fixes a typo as toHaveFormValue is not exported by this library, it should be toHaveFormValues.
1 parent ff4d6bc commit 7bdea30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,10 +924,10 @@ This allows you to check whether the given form element has the specified value.
924924
It accepts `<input>`, `<select>` and `<textarea>` elements with the exception of
925925
of `<input type="checkbox">` and `<input type="radio">`, which can be
926926
meaningfully matched only using [`toBeChecked`](#tobechecked) or
927-
[`toHaveFormValue`](#tohaveformvalues).
927+
[`toHaveFormValues`](#tohaveformvalues).
928928
929929
For all other form elements, the value is matched using the same algorithm as in
930-
[`toHaveFormValue`](#tohaveformvalues) does.
930+
[`toHaveFormValues`](#tohaveformvalues) does.
931931
932932
#### Examples
933933

0 commit comments

Comments
 (0)