QUnit 2.6.0 Released: Tighten failure scenarios

Tightens up some failure scenarios and adds a much needed --require API to the CLI!

Changelog

Added

  • CLI: New --require option. (Trent Willis) #1271

Changed

  • Assert: Fail test if a non-string value is passed to assert.step(). #1264
  • Assert: Recognize undefined and other falsy rejection values in assert.rejects().
  • Core: Throw an error if no tests are run.

Fixed

  • Assert: Clone steps array in assert.verifySteps() before exposing to logging callbacks. #1267
  • Core: Ensure late-add high-priority tests are inserted in proper order. #1269

See also