Releases: qunitjs/qunit
Releases · qunitjs/qunit
2.22.0
2.21.1
Deprecated
- Assert: Add notice about upcoming change in how
assert.expect()
counts steps forassert.verifySteps()
. (@getify, @Krinkle) #1226
Fixed
2.21.0
Added
- Assert: Add
assert.closeTo()
. (@JamesMGreene, @Krinkle) #1735 - Core: Add support for flat preconfig via environment/global variables. (@Krinkle)
Deprecated
- Core: Deprecate
QUnit.load()
and document migration path at https://qunitjs.com/api/QUnit/load/. #1743 - Core: Deprecate unset testTimeout for tests taking longer than 3 seconds. #1483
2.20.1
2.20.0
Added
Changed
- Assert: Add type check for
assert.async()
parameter. (@zixinyin) #1721 - HTML Reporter: Remove units for 0 values in qunit.css. (@hareesh-pillai) #1715
Fixed
- Core: Faster
inArray
by using Array.prototype.includes when possible. (@izelnakri)
2.19.4
Fixed
- Core: Fix memory leak via
config.timeoutHandler
from last async test. (Sergey Astapov @SergeAstapov) - Docs: Fix several typos. (@AndrewDawes, @timgates42)
2.19.3
2.19.2
Changed
- Core: Faster diffing for
config.noglobals
by refactoring slow mutations. (@izelnakri) #1697 - Assert: Improve performance of
QUnit.equiv()
. (@izelnakri) #1700 - Assert: Faster deepEqual for Map values by avoiding typeEquiv calls. (@Krinkle)
- Assert: Faster deepEqual by reducing internal objectType checks. (@Krinkle)
- Assert: Faster deepEqual by using re-assignment for internal pairs. (@Krinkle)
Fixed
2.19.1
Fixed
- HTML Reporter: Restore float-clear for narrow viewports. 87c90ce2e0
2.19.0
Added
- CLI: Add
--module
option. (@ShaMan123) #1680 - Core: Add
moduleId
toQUnit.begin()
details object.
Changed
- HTML Reporter: Improve accessibility, design, and fuzziness of the module filter. (@Krinkle) #1664, #1685
Fixed
- Core: Fix event "runtime" data to be rounded to milliseconds.
- Core: Fix pretty stacktrace shortening to work on Windows.
- HTML Reporter: Faster toolbar setup by re-using
beginDetails
.