Back to Qunit

QUnit 2.2.0 Released: assert.step & New event emitter

docs/_posts/2017-03-11-qunit-2-2-0.md

2.25.01.1 KB
Original Source

Changelog

Added

  • Core: Support running in a sandboxed iframe.
  • Core: New [QUnit.on()]({% link api/callbacks/QUnit.on.md %}) event emitter. (Trent Willis) #1087
  • Core: New [QUnit.todo()]({% link api/QUnit/test.todo.md %}) method. (Trent Willis) #1080
  • Assert: New assert.step() and [assert.verifySteps()]({% link api/assert/verifySteps.md %}) methods. (Trent Willis) #1075

Changed

  • Core: QUnit.onError now expects error or error-like object.
  • Core: Include "todo" in assertion event data.

Fixed

  • HTML Reporter: Ensure window.onerror return values are correct.
  • Core: Fix start on Node when autostart is not set to true. #1105
  • Core: Fix double begin when calling start in Node.
  • Core: Rewrite QUnit.equiv to be breadth-first.
  • Core: Optimize the "set" and "map" callbacks.
  • Core: Fix console error in IE9. #1093

See also