QUnit 2.0.0 Released

Check out the upgrade guide at https://qunitjs.com/upgrade-guide-2.x/

Changelog

  • All: Remove deprecated features.
  • All: Remove QUnit.config.autorun.
  • All: Prevent async tests from having multiple resume timeouts.
  • Assert: Remove assert.throws() signature with string expected value.
  • Dump: update typeOf to extract extra complex type definition.
  • Core: New before and after module hooks.
  • Core: Decode “+” to “ “ (space) in url params.
  • Core: Throw error if QUnit is already defined globally.
  • HTML Reporter: Add reset/apply buttons in the module picker.
  • HTML Reporter: Improve module picker accessibility. (Richard Gibson)
  • HTML Reporter: Improve color/background order consistency. (Richard Gibson)
  • HTML Reporter: Improve toolbar styles. (Richard Gibson)
  • HTML Reporter: Add multi-select module dropdown. (Maciej Lato)

See also