async()
Instruct QUnit to wait for an asynchronous operation.
Instruct QUnit to wait for an asynchronous operation.
A deep recursive comparison, working on primitive types, arrays, objects, regular expressions, dates and functions.
A non-strict comparison, roughly equivalent to JUnit’s assertEquals.
Specify how many assertions are expected to run within a test.
An inverted deep recursive comparison, working on primitive types, arrays, objects, regular expressions, dates and functions.
A non-strict comparison, checking for inequality.
A boolean check, inverse of ok() and CommonJS’s assert.ok(), and equivalent to JUnit’s assertFalse(). Passes if the first argument is falsy.
A strict comparison of an object’s own properties, checking for inequality.
A strict comparison, checking for inequality.
A boolean check, equivalent to CommonJS’s assert.ok() and JUnit’s assertTrue(). Passes if the first argument is truthy.
A strict type and value comparison of an object’s own properties.
Report the result of a custom assertion
A strict type and value comparison.
Test if a callback throws an exception, and optionally compare the thrown error.