QUnit 2.4.0 Released: Add assert.timeout
Includes module.{skip,todo,only}
, assert.timeout
, and plenty of bug fixes!
Changelog
- Assert: New
assert.timeout()
for setting per-test timeout durations. (Trent Willis) #1165 - Assert: Fix assert.push deprecation link.
- CLI: Better messaging on early exits.
- CLI: Default to non-zero exit code.
- CLI: Exit with non-zero status when no tests are run.
- Core: Add support for multiple callbacks in module hooks, such as via
hooks.beforeEach()
andhooks.afterEach()
. - Core: Fallback to
typeof obj
inQUnit.objectType
. - Core: New
QUnit.module.only()
method. (Brahim Arkni) #1179 - Core: New
QUnit.module.skip()
method. (Brahim Arkni) #1193 - Core: New
QUnit.module.todo()
method. (Brahim Arkni) #1195 - Core: Fix memory release of objects in equiv logic of
assert.deepEqual()
. (Jing Wu) #1192