Assertions
-
assert.async()
Instruct QUnit to wait for an asynchronous operation.
-
assert.deepEqual()
A deep recursive strict comparison.
-
assert.equal()
A non-strict comparison.
-
assert.expect()
Specify how many assertions are expected to run within a test.
-
assert.false()
A strict boolean false comparison.
-
assert.notDeepEqual()
An inverted deep recursive comparison.
-
assert.notEqual()
A non-strict comparison, checking for inequality.
-
assert.notOk()
Check if the first argument is falsy.
-
assert.notPropEqual()
A strict comparison of an object's own properties, checking for inequality.
-
assert.notStrictEqual()
A strict comparison, checking for inequality.
-
assert.ok()
Check if the first argument is truthy.
-
assert.propEqual()
A strict type and value comparison of an object's own properties.
-
assert.pushResult()
Report the result of a custom assertion.
-
assert.rejects()
Test if the provided promise rejects.
-
assert.step()
A marker for progress in a given test.
-
assert.strictEqual()
A strict type and value comparison.
-
assert.throws()
Test if a callback throws an exception.
-
assert.timeout()
Set the length of time to wait for async operations before failing the test.
-
assert.true()
A strict boolean true comparison.
-
assert.verifySteps()
A helper assertion to verify the order and number of steps in a test.