QUnit 2.5.0: assert.rejects

Changelog

Added

  • Assert: New assert.rejects() method. (Robert Jackson) #1238
  • CLI: Fail test if there are unhandled rejections, similar to uncaught errors. (Robert Jackson) #1241
  • HTML Reporter: Fail test if there are unhandled rejections, similar to uncaught errors. (Robert Jackson) #1241

Changed

  • Assert: The assert.verifySteps() method now resets the steps buffer, making it easier to use multiple times in a single test. #1233

Fixed

  • Core: Remove artificial delays from internal setTimeout processing code. #1246

See also