-
Notifications
You must be signed in to change notification settings - Fork 0
chore: update dependency vitest to v3 #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
6a6cf42
to
db787da
Compare
db787da
to
82667b1
Compare
19272ca
to
f946ae7
Compare
f946ae7
to
414d605
Compare
414d605
to
182dcb8
Compare
c0b73ca
to
42eafa6
Compare
42eafa6
to
ee367ac
Compare
ee367ac
to
4cbc446
Compare
1fe0aef
to
3dba18d
Compare
3dba18d
to
d30b7cf
Compare
5d80be4
to
2fc0497
Compare
2fc0497
to
25985e1
Compare
25985e1
to
ae8a382
Compare
ae8a382
to
49ddab9
Compare
49ddab9
to
91c4255
Compare
91c4255
to
1ad4964
Compare
1ad4964
to
b57473d
Compare
b57473d
to
ea85065
Compare
ea85065
to
41262b3
Compare
5d9a98a
to
58ec0da
Compare
83667e9
to
58ec0da
Compare
58ec0da
to
780e31b
Compare
780e31b
to
93bdb13
Compare
93bdb13
to
03ad152
Compare
03ad152
to
a09980b
Compare
a09980b
to
096bb42
Compare
096bb42
to
cbb57ea
Compare
cbb57ea
to
899fda1
Compare
899fda1
to
4cd94c0
Compare
4cd94c0
to
fe89242
Compare
fe89242
to
a565599
Compare
a565599
to
53774a0
Compare
This PR contains the following updates:
^0.34.6
->^3.1.4
Release Notes
vitest-dev/vitest (vitest)
v3.1.4
Compare Source
v3.1.3
Compare Source
🐞 Bug Fixes
inline: true
is set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7856 (a83f3)--merge-reports
to show each total run times - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7877 (d613b)View changes on GitHub
v3.1.2
Compare Source
🚀 Features
🐞 Bug Fixes
chai
variable invitest/globals
(fix: #7474) - by @Jay-Karia in https://github.com/vitest-dev/vitest/issues/7771 and https://github.com/vitest-dev/vitest/issues/7474 (d9297)test.exclude
when same object passed incoverage.exclude
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7774 (c3751)envionmentOptions
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7795 (67430)await
profiler calls - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7763 (795a6)🏎 Performance
View changes on GitHub
v3.1.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.1.0
Compare Source
🚀 Features
%$
option to add number of the test to its title - by @kemuridama in https://github.com/vitest-dev/vitest/issues/7412 (df347)diff.maxDepth
option and set non-Infinity
value as a default to reduce crash - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7481 (eacab)test.each/for
title formatting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7522 (ea3d6)--configLoader
CLI option - by @Carnageous and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7574 (2a852)vitest-browser-lit
tovitest init browser
and docs - by @EskiMojo14 and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7705 (5659a)and
,or
andfilter
locators - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7463 (63949)--silent=passed-only
to log failed tasks only - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7530 (f9e1c)test.scoped
to overridetest.extend
fixtures per-suite - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7233 (e5851)context.skip(boolean)
- by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7659 (6adec)🐞 Bug Fixes
diff.expand: false
as default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7697 (f3420)--hideSkippedTests
should hide suites too - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7695 (ba9b5)🏎 Performance
View changes on GitHub
v3.0.9
Compare Source
🐞 Bug Fixes
ctx.skip()
asnever
- by @sirlancelot in https://github.com/vitest-dev/vitest/issues/7608 (09f35)resolveConfig
API - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7623 (db14a)toHaveBeenCalledWith(asymmetricMatcher)
withundefined
arguments - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7624 (0fb21)getState().testPath
during collection with no isolation - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7640 (3fb3f)coverage.all
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7597 (422ba)buildStart
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7652 (29f5a)removeEventListener
is bound to worker - by @joelgallant in https://github.com/vitest-dev/vitest/issues/7631 (ff42b)View changes on GitHub
v3.0.8
Compare Source
🐞 Bug Fixes
@vitest/spy
- by @mrginglymus in https://github.com/vitest-dev/vitest/issues/7575 (7f7ff)beforeEach/All
cleanup callback timeout - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7500 (0c292)Task.suite
initialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7414 (ca9ff)buildStart
on Vite 6 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7480 (c0f47)View changes on GitHub
v3.0.7
Compare Source
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v3.0.6
Compare Source
🐞 Bug Fixes
getMockedSystemTime
foruseFakeTimer
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7405 (03912)queueMicrotask
from default fake timers to not break node fetch - by @hi-ogawa in https://github.com/vitest-dev/vitest/pull/7505 (167a9)tinyglobby
instead offast-glob
- by @benmccann in https://github.com/vitest-dev/vitest/issues/7504 (b62ac)toHaveClass
typing - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7383 (7ef23)maxWorkers
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7483 (adbb2)vite-node
to pass correct execution wrapper offset - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7417 (1f2e5)inspect
related cli options - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7373 (ed15b)View changes on GitHub
v3.0.5
Compare Source
This release includes security patches for:
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v3.0.4
Compare Source
This release includes security patches for:
🐞 Bug Fixes
development|production
condition on Vites 6 by @hi-ogawa and @sheremet-va (#7301) (ef146)/__screenshot-error
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7340 (ed9ae)View changes on GitHub
v3.0.3
Compare Source
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v3.0.2
Compare Source
🐞 Bug Fixes
expect().resolves/rejects
chain typings - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7273 (fa415)View changes on GitHub
v3.0.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.0.0
Compare Source
Vitest 3 is here! There are a few breaking changes, but we expect the migration to be smooth. This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
spy.mockReset
changes - by @Lordfirespeed in https://github.com/vitest-dev/vitest/issues/6426 (db7a8)describe(..., { shuffle: boolean })
and inherit from parent suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6670 (aa1da)retry
andrepeats
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6817 (e8ce9)🚀 Features
diff
options and supportprintBasicPrototype
- by @hi-ogawa, @sheremet-va and Michał Grzegorzewski in https://github.com/vitest-dev/vitest/issues/6740 (39186)ctx.skip()
dynamically - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6805 (697c3)vitest/node
entry point and statically on Vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7029 (be8d4)diff.printBasicPrototype: false
by default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7043 (2b5c5)describe.for
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7253 (0ad28)actionTimeout
as playwright provider options - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6984 (e2c29)userEvent.copy, cut, paste
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6769 (843a6)--project=!pattern
- by @haines in https://github.com/vitest-dev/vitest/issues/6924 (ebfe9)thresholds
to support maximum uncovered items - by @jonahkagan in https://github.com/vitest-dev/vitest/issues/7061 (bde98)toHaveBeenCalledExactlyOnceWith
expect matcher - by @jacoberdman2147 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6894 (ff662)toHaveBeenCalledAfter
andtoHaveBeenCalledBefore
utility - by @Barbapapazes and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6056 (85e6f)toSatisfy
asymmetric matcher - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7022 (f691a)toBeOneOf
matcher - by @zirkelc and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6974 (3d742)Configuration
📅 Schedule: Branch creation - "after 10am on monday,before 5pm on monday" in timezone Asia/Tokyo, 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.