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

Method toBeDisabled

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

* @description * Allows you to check whether an element is disabled from the user's perspective. * * Matches if the element is a form control and the `disabled` attribute is specified on this element or the * element is a descendant of a form element with a `disabled` attribute. * @ex

()

Source from the content-addressed store, hash-verified

119 * @see https://vitest.dev/api/browser/assertions#tobedisabled
120 */
121 toBeDisabled(): R
122 /**
123 * @description
124 * Allows you to check whether an element is not disabled from the user's perspective.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected