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.1
Release Notes
qunitjs/qunit (qunit)
v2.24.1
Compare Source
==================
Fixed
error
event listeners, to improve reporting of early errors. 7c2f871ac3v2.24.0
Compare Source
==================
FYI:
Including best practices and examples for async tests, callbacks, and event-based code.
Added
CLI: Add
.mjs
and.cjs
to 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
.mjs
or.cjs
files that should not be executed, you can opt-out by passing
test/*.js
ortest/**/*.js
explicitly 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.tap
for enabling TAP via preconfig. #1711Core: Add memory to the
runEnd
event to allow late listeners. This helps browser integrations that only relay a summary. 27a33d1593Fixed
v2.23.1
Compare Source
==================
Fixed
--seed
option eating the file argument. #1691expected: undefined
under error messages in TAP reporter. #1794<label>
to wrap<select>
for multi-value urlConfig item. #1773v2.23.0
Compare Source
==================
Added
QUnit.test.each()
to simple array values. #1733v2.22.0
Compare Source
==================
Added
QUnit.test.if()
andQUnit.module.if()
. (Timo Tijhof) #1772v2.21.1
Compare Source
==================
Deprecated
assert.expect()
counts steps forassert.verifySteps()
. #1226Fixed
QUnit.stack()
in Safari. #1776v2.21.0
Compare Source
==================
Added
assert.closeTo()
. (Timo Tijhof) #1735Deprecated
QUnit.load()
and document migration path at https://qunitjs.com/api/QUnit/load/. (Timo Tijhof) #1743v2.20.1
Compare Source
==================
Fixed
sinon.useFakeTimers
in IE 10 and IE 11. (Timmy Willison) #1738assert.async()
afterassert.timeout()
. (Timo Tijhof) #1705v2.20.0
Compare Source
==================
Added
QUnit.reporters.perf
. (Timo Tijhof) #1714Changed
assert.async()
parameter. (Zixin Yin) #1721Fixed
inArray
by using Array.prototype.includes when possible. (Izel Nakri)v2.19.4
Compare Source
==================
Fixed
config.timeoutHandler
from last async test. (Sergey Astapov)v2.19.3
Compare Source
==================
Fixed
v2.19.2
Compare Source
==================
Changed
config.noglobals
by refactoring slow mutations. (Izel Nakri) #1697QUnit.equiv()
. (Izel Nakri) #1700Fixed
v2.19.1
Compare Source
==================
Fixed
v2.19.0
Compare Source
==================
Added
--module
option. (Shachar) #1680moduleId
toQUnit.begin()
details object.Fixed
beginDetails.modules
.v2.18.2
Compare Source
==================
Changed
Fixed
v2.18.1
Compare Source
==================
Fixed
v2.18.0
Compare Source
==================
Added
assert.propContains()
for partial object comparison. (Izel Nakri) #1668QUnit.hooks
to globally add beforeEach and afterEach. (Timo Tijhof) #1475.ts
files when TypeScript is used. (Timo Tijhof) #1669.json
,.cjs
, and.mjs
files. #1676Fixed
v2.17.2
Compare Source
==================
Changed
Fixed
QUnit.module.only()
closure. (Steve McClure) #1645v2.17.1
Compare Source
==================
Fixed
display: none
regression with the "global failure" message. (Timo Tijhof) #1651v2.17.0
Compare Source
==================
Added
error
event for bailing on uncaught errors. (Timo Tijhof) #1638Changed
Deprecated
Core: The internal
QUnit.onError
andQUnit.onUnhandledRejection
callbacks are deprecated. #1638These were undocumented, but may have been used in a fork or other custom runner for QUnit.
Switch to the supported
QUnit.onUncaughtException
instead.Fixed
assert.throws()
andassert.rejects()
. (Steve McClure) #1637QUnit.begin()
. (Timo Tijhof) #1446QUnit.done()
. (Timo Tijhof) #1629v2.16.0
Compare Source
==================
Added
Core: New
QUnit.test.each()
method to test with data providers. (Ventuno) #1568Core: New
failOnZeroTests
configuration option. (Brenden Palmer)Core: New
QUnit.reporters
interface. (Timo Tijhof) f8948c9 js-reporters#133This introduces support for using the
tap
reporter 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.0
Compare Source
==================
Changed
js-reporters
to 2.0.0. #1577Deprecated
Fixed
assert.throws()
to fail gracefully when expected class does not match. (Steve McClure) #1530Infinity
value, previously becamenull
. (Timo Tijhof) #1406console
object is mocked. (Timo Tijhof) #1340v2.14.1
Compare Source
==================
Changed
commander
to 7.1.0. (Timo Tijhof) #1564Fixed
testItem
in testDone callback. (Timo Tijhof)v2.14.0
Compare Source
==================
Added
Changed
tiny-glob
andnode-watch
dependencies. #1522, #1524Fixed
main
andnavigation
ARIA roles. (Steve McClure) #1427QUnit.module.only
logic for unscoped modules. (Steve McClure) #1272assert.timeout()
bug causing a non-async test to fail. #1539v2.13.0
Compare Source
==================
Added
Deprecated
Fixed
suiteEnd
emits correctly with active filters. (Stephen Yeung) #1416Map
global in older browsers. (Timo Tijhof)v2.12.0
Compare Source
==================
Added
QUnit.test.*
aliases forQUnit.only()
,QUnit.skip()
, andQUnit.todo()
. (Steve McClure) #1496assert.throws()
expected callback. (Steve McClure) #1492Changed
node-watch
andcommander
dependencies. (Timo Tijhof) #1500Deprecated
QUnit.extend()
. (Steve McClure)v2.11.3
Compare Source
==================
Fixed
v2.11.2
Compare Source
==================
Fixed
actual
whitespace withexpected
in TapReporter. (Robert Jackson) js-reporters/js-reporters#107 #1481v2.11.1
Compare Source
==================
Fixed
tiny-glob
. #1476v2.11.0
Compare Source
==================
Added
assert.true()
andassert.false()
methods. (Ventuno) #1445Changed
hidepassed
is set. (Ray Cohen) #1208Fixed
--watch
option, affected Node 14 on Linux. #1448Removed
v2.10.1
Compare Source
==================
Fixed
#qunit-fixture
. (XhmikosR) #1437v2.10.0
Compare Source
==================
Changed
QUnit.only
-marked tests. (Ventuno) #1436Fixed
v2.9.3
Compare Source
==================
Added
Fixed
assert.timeout()
replace the timeout ifconfig.timeout
was 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.