layout | title | excerpt | groups | redirect_from | version_added | |||
---|---|---|---|---|---|---|---|---|
page-api |
QUnit.assert |
Namespace for QUnit assertion methods. |
|
|
1.7.0 |
Namespace for QUnit assertion methods. This object is the prototype for the internal Assert class of which instances are passed as the argument to QUnit.test()
callbacks.
This object contains QUnit's built-in assertion methods, and may be extended by plugins to register additional assertion methods.
See assert.pushResult()
for how to create a custom assertion.