Update dependency qunit to v2.24.1 #22
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.9.2->2.24.1Release Notes
qunitjs/qunit (qunit)
v2.24.1Compare Source
==================
Fixed
errorevent listeners, to improve reporting of early errors. 7c2f871ac3v2.24.0Compare Source
==================
FYI:
Including best practices and examples for async tests, callbacks, and event-based code.
Added
CLI: Add
.mjsand.cjsto the default file extensions when reading a test directory.These have been monitored by watch mode since QUnit 2.18, but were not loaded or executed
unless you passed them as individual files, or used your own glob like
test/*.{js,mjs,cjs}.If you currently pass a directory to the QUnit CLI and have matching
.mjsor.cjsfiles that should not be executed, you can opt-out by passing
test/*.jsortest/**/*.jsexplicitly instead oftest/.CLI: Add stacktrace cleaning by omitting or greying out internal QUnit and Node.js frames in TAP reporter. #1795. #1789
Learn more about Cleaner stack traces on the QUnit Blog.
Core: Add
QUnit.config.reporters.tapfor enabling TAP via preconfig. #1711Core: Add memory to the
runEndevent to allow late listeners. This helps browser integrations that only relay a summary. 27a33d1593Fixed
v2.23.1Compare Source
==================
Fixed
--seedoption eating the file argument. #1691expected: undefinedunder error messages in TAP reporter. #1794<label>to wrap<select>for multi-value urlConfig item. #1773v2.23.0Compare Source
==================
Added
QUnit.test.each()to simple array values. #1733v2.22.0Compare Source
==================
Added
QUnit.test.if()andQUnit.module.if(). (Timo Tijhof) #1772v2.21.1Compare Source
==================
Deprecated
assert.expect()counts steps forassert.verifySteps(). #1226Fixed
QUnit.stack()in Safari. #1776v2.21.0Compare Source
==================
Added
assert.closeTo(). (Timo Tijhof) #1735Deprecated
QUnit.load()and document migration path at https://qunitjs.com/api/QUnit/load/. (Timo Tijhof) #1743v2.20.1Compare Source
==================
Fixed
sinon.useFakeTimersin IE 10 and IE 11. (Timmy Willison) #1738assert.async()afterassert.timeout(). (Timo Tijhof) #1705v2.20.0Compare Source
==================
Added
QUnit.reporters.perf. (Timo Tijhof) #1714Changed
assert.async()parameter. (Zixin Yin) #1721Fixed
inArrayby using Array.prototype.includes when possible. (Izel Nakri)v2.19.4Compare Source
==================
Fixed
config.timeoutHandlerfrom last async test. (Sergey Astapov)v2.19.3Compare Source
==================
Fixed
v2.19.2Compare Source
==================
Changed
config.noglobalsby refactoring slow mutations. (Izel Nakri) #1697QUnit.equiv(). (Izel Nakri) #1700Fixed
v2.19.1Compare Source
==================
Fixed
v2.19.0Compare Source
==================
Added
--moduleoption. (Shachar) #1680moduleIdtoQUnit.begin()details object.Fixed
beginDetails.modules.v2.18.2Compare Source
==================
Changed
Fixed
v2.18.1Compare Source
==================
Fixed
v2.18.0Compare Source
==================
Added
assert.propContains()for partial object comparison. (Izel Nakri) #1668QUnit.hooksto globally add beforeEach and afterEach. (Timo Tijhof) #1475.tsfiles when TypeScript is used. (Timo Tijhof) #1669.json,.cjs, and.mjsfiles. #1676Fixed
v2.17.2Compare Source
==================
Changed
Fixed
QUnit.module.only()closure. (Steve McClure) #1645v2.17.1Compare Source
==================
Fixed
display: noneregression with the "global failure" message. (Timo Tijhof) #1651v2.17.0Compare Source
==================
Added
errorevent for bailing on uncaught errors. (Timo Tijhof) #1638Changed
Deprecated
Core: The internal
QUnit.onErrorandQUnit.onUnhandledRejectioncallbacks are deprecated. #1638These were undocumented, but may have been used in a fork or other custom runner for QUnit.
Switch to the supported
QUnit.onUncaughtExceptioninstead.Fixed
assert.throws()andassert.rejects(). (Steve McClure) #1637QUnit.begin(). (Timo Tijhof) #1446QUnit.done(). (Timo Tijhof) #1629v2.16.0Compare Source
==================
Added
Core: New
QUnit.test.each()method to test with data providers. (Ventuno) #1568Core: New
failOnZeroTestsconfiguration option. (Brenden Palmer)Core: New
QUnit.reportersinterface. (Timo Tijhof) f8948c9 js-reporters#133This introduces support for using the
tapreporter in a browser.This was previously limited to the CLI.
Changed
assert.async()callback came from. (Steve McClure) #1599Deprecated
Fixed
QUnit.module.only()regression where some unrelated modules also executed. (Steve McClure) #1610v2.15.0Compare Source
==================
Changed
js-reportersto 2.0.0. #1577Deprecated
Fixed
assert.throws()to fail gracefully when expected class does not match. (Steve McClure) #1530Infinityvalue, previously becamenull. (Timo Tijhof) #1406consoleobject is mocked. (Timo Tijhof) #1340v2.14.1Compare Source
==================
Changed
commanderto 7.1.0. (Timo Tijhof) #1564Fixed
testItemin testDone callback. (Timo Tijhof)v2.14.0Compare Source
==================
Added
Changed
tiny-globandnode-watchdependencies. #1522, #1524Fixed
mainandnavigationARIA roles. (Steve McClure) #1427QUnit.module.onlylogic for unscoped modules. (Steve McClure) #1272assert.timeout()bug causing a non-async test to fail. #1539v2.13.0Compare Source
==================
Added
Deprecated
Fixed
suiteEndemits correctly with active filters. (Stephen Yeung) #1416Mapglobal in older browsers. (Timo Tijhof)v2.12.0Compare Source
==================
Added
QUnit.test.*aliases forQUnit.only(),QUnit.skip(), andQUnit.todo(). (Steve McClure) #1496assert.throws()expected callback. (Steve McClure) #1492Changed
node-watchandcommanderdependencies. (Timo Tijhof) #1500Deprecated
QUnit.extend(). (Steve McClure)v2.11.3Compare Source
==================
Fixed
v2.11.2Compare Source
==================
Fixed
actualwhitespace withexpectedin TapReporter. (Robert Jackson) js-reporters/js-reporters#107 #1481v2.11.1Compare Source
==================
Fixed
tiny-glob. #1476v2.11.0Compare Source
==================
Added
assert.true()andassert.false()methods. (Ventuno) #1445Changed
hidepassedis set. (Ray Cohen) #1208Fixed
--watchoption, affected Node 14 on Linux. #1448Removed
v2.10.1Compare Source
==================
Fixed
#qunit-fixture. (XhmikosR) #1437v2.10.0Compare Source
==================
Changed
QUnit.only-marked tests. (Ventuno) #1436Fixed
v2.9.3Compare Source
==================
Added
Fixed
assert.timeout()replace the timeout ifconfig.timeoutwas already set. (Stephen Yeung) #1400Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.