dom-assertions
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

dom-assertions

Low-level accessibility assertions for testing DOM elements.

The dom-assertions package provides the low-level functionality for developing custom matchers/assertions for various test runners and assertion libraries.

Adapters

Installation

npm install --save-dev dom-assertions

yarn add --dev dom-assertions

pnpm add --save-dev dom-assertions

Assertions

  • assertElementHasDescription
  • assertElementHasErrorMessage
  • assertElementHasName
  • assertElementIsInvalid
  • assertElementIsRequired
  • assertElementIsValid

Package Sidebar

Install

npm i dom-assertions

Weekly Downloads

535

Version

0.1.0

License

MIT

Unpacked Size

24.8 kB

Total Files

6

Last publish

Collaborators

  • mammadataei