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
--requireoption. (Trent Willis) #1271
Changed
- Assert: Fail test if a non-string value is passed to
assert.step(). #1264 - Assert: Recognize
undefinedand other falsy rejection values inassert.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