Releases: qunitjs/qunit
Releases · qunitjs/qunit
2.23.1
Fixed
- CLI: Fix support for strict TAP parsers by limiting colors to test names. #1801
- CLI: Fix confusing
--seed
option eating the file argument. #1691 - CLI: Remove confusing
expected: undefined
under error messages in TAP reporter. #1794 - HTML Reporter: Fix broken "Rerun without max depth" link. da0c59e101 (see also 91db92dbc5, 73c03cf277)
- HTML Reporter: Fix
<label>
to wrap<select>
for multi-value urlConfig item. #1773
2.23.0
Added
- Core: Add automatic labels in
QUnit.test.each()
to simple array values. (@vtintillier, @Krinkle) #1733
2.22.0
Added
- Core: Add
QUnit.test.if()
andQUnit.module.if()
. (@englercj, @Krinkle, @smcclure15) #1772
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)