MCPcopy
hub / github.com/vitest-dev/vitest / toHaveDisplayValue

Method toHaveDisplayValue

packages/browser/jest-dom.d.ts:321–321  ·  view source on GitHub ↗

* @description * This allows you to check whether the given form element has the specified displayed value (the one the * end user will see). It accepts <input>, <select> and <textarea> elements with the exception of <input type="checkbox"> * and <input type="radio">, which can be meaningfu

(value: string | number | RegExp | Array<string | RegExp | number>)

Source from the content-addressed store, hash-verified

319 * @see https://vitest.dev/api/browser/assertions#tohavedisplayvalue
320 */
321 toHaveDisplayValue(value: string | number | RegExp | Array<string | RegExp | number>): R
322 /**
323 * @description
324 * Assert whether an element has focus or not.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected