* @description * Allows you to check if a form element is currently required. * * An `input`, `select`, `textarea`, or `form` element is invalid if it has an `aria-invalid` attribute with no * value or a value of "false", or if the result of `checkValidity()` is true. * @example *
()
| 191 | * @see https://vitest.dev/api/browser/assertions#tobevalid |
| 192 | */ |
| 193 | toBeValid(): R |
| 194 | /** |
| 195 | * @description |
| 196 | * Allows you to assert whether an element contains another element as a descendant or not. |