-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update vitest to v3 (major) #35
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-vitest
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+396
−503
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #35 +/- ##
==========================================
- Coverage 99.09% 98.84% -0.26%
==========================================
Files 5 5
Lines 333 260 -73
Branches 54 54
==========================================
- Hits 330 257 -73
Misses 3 3 ☔ View full report in Codecov by Sentry. |
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
August 29, 2024 02:00
b0e0511
to
7219b06
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
September 12, 2024 15:57
7219b06
to
9e1a801
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
September 13, 2024 16:13
9e1a801
to
cf78771
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
October 1, 2024 03:21
cf78771
to
158d2bb
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
October 2, 2024 19:50
158d2bb
to
defa0da
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
October 14, 2024 21:02
defa0da
to
182722c
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
October 28, 2024 12:37
182722c
to
7e8d48f
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
November 1, 2024 06:55
7e8d48f
to
7873c01
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
November 1, 2024 10:33
7873c01
to
a7a8d39
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
November 13, 2024 06:34
a7a8d39
to
8e3a5a1
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
November 13, 2024 17:07
8e3a5a1
to
86dee34
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
November 26, 2024 12:51
86dee34
to
749a5e3
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
December 1, 2024 06:31
749a5e3
to
f61081c
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
December 2, 2024 12:35
f61081c
to
8dcdece
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
December 2, 2024 17:39
8dcdece
to
e592048
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
December 11, 2024 05:10
e592048
to
60e5b33
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
December 20, 2024 01:38
60e5b33
to
c435fde
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
January 16, 2025 16:52
c435fde
to
443c767
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
January 16, 2025 20:19
443c767
to
42a328d
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
January 19, 2025 08:41
42a328d
to
8ea6cad
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
January 19, 2025 13:06
8ea6cad
to
a104ad3
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
January 21, 2025 17:40
a104ad3
to
229fc69
Compare
renovate
bot
force-pushed
the
renovate/major-vitest
branch
from
January 22, 2025 09:10
229fc69
to
babec1e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
^1.6.0
->^3.0.3
^1.6.0
->^3.0.3
^1.6.0
->^3.0.3
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
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)summary
option forverbose
anddefault
reporters - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6893 (511b7)provide
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6813 (85c64)config
toresolveSnapshotPath
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6800 (746d8)coverageMap
in json report - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6606 (9c8f7)onTestsRerun
method to global setup context - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6803 (e26e0)🐞 Bug Fixes
cacheDir
when optimizer is enabled - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6910 (0b08b)finally
in case there is an error to avoid it getting stuck - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6951 (02194)Custom
type internally - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7032 (7957f)cancelCurrentRun
awaitsrunningPromise
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7168 (1dbf5)getMockImplementation
to return "once" implementation - by @chaptergy in https://github.com/vitest-dev/vitest/issues/7033 (39125)capturePrintError
logger duplicate event handlers - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7197 (e89c3)vitest/reporters
entrypoint - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7241 (aec0b)forks
pool - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7090 (8cab9)VitestRunner
type fromvitest/runners
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7240 (9b218)vitest list
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7257 (1c2b2)log-update
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7019 (6d23f)vi.mock
is present - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6810 (8d179)entries
in the browser mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7167 (423d6)console.time
with fake timers - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7207 (903f3)isolate: false
is used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6957 (426ce)dot
reporter withoutlog-update
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6943 (be969)--hideSkippedTests
in base reporter - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6988 (721a5)retry
andrepeats
counts - by @AriPerkkio and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7004 (3496a)describe.todo
as'todo'
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7171 (1d458)toMatchFileSnapshot
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7156 (a437b)toMatchSnapshot("...")
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7126 (ac9ba)@ts-expect-error
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7125 (27d34)extends: true
correctly inherits all root config properties - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7232 (798c0)View changes on GitHub
v2.1.8
Compare Source
🐞 Bug Fixes
View changes on GitHub
v2.1.7
Compare Source
🐞 Bug Fixes
pnpm.overrides
or yarn resolutions to override thevite
version in thevitest
package - the APIs are compatible.View changes on GitHub
v2.1.6
Compare Source
🚀 Features
View changes on GitHub
v2.1.5
Compare Source
🐞 Bug Fixes
dangerouslyIgnoreUnhandledErrors
without base reporter - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6808 (0bf0a)unhandledRejection
even when base reporter is not used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6812 (8878b)sequence.concurrent
from theRuntimeConfig
type - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6880 (6af73).poll
,.element
,.rejects
/.resolves
, andlocator.*
weren't awaited - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6877 (93b67)enter
or'a'
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6848 (487c8)🏎 Performance
View changes on GitHub
v2.1.4
Compare Source
🚀 Features
transformIndexHtml
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6725 (16902)🐞 Bug Fixes
v=
queries to setup files imports - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6759 (b8258)toThrowError
with empty string parameter - by @shulaoda in https://github.com/vitest-dev/vitest/issues/6710 (a6129)test.extend
type exports - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6707 (e5c38)🏎 Performance
hash
to replacecreateHash
- by @btea in https://github.com/vitest-dev/vitest/issues/6703 (5d07b)View changes on GitHub
v2.1.3
Compare Source
🐞 Bug Fixes
toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6697 (e0027)/mockServiceWorker.js
instead of/__vitest_msw__
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6687 [(4b2ce)](https://redirectConfiguration
📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.