High Level DOM Assertions for QUnit
npm install --save-dev qunit-dom
yarn add --dev qunit-dom
(This is the recommended method for Ember projects.)
Once installed the DOM element assertions are available at
All available assertions are documented in API.md.
A basic codemod to automatically convert your assertions is available at https://github.com/simplabs/qunit-dom-codemod.
qunit-dom includes type definition files, but the way it extends QUnit means
that you need import it somewhere so that TS and your editor can pick up the
types. It is recommended to add the following line to your
.ts if you do not have such a
How to Run Tests
How to Generate the Documentation
- chai-jquery – jQuery assertions for chai