chore(deps): update dependency vitest to v2 #379
No reviewers
Labels
No labels
API
bug
can't reproduce
confirmed
dependencies
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
performance
question
to be confirmed
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: dungeonslayers/ds4#379
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/major-vitest-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.34.6
->2.1.3
Release Notes
vitest-dev/vitest (vitest)
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)toMatchObject
diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6620 (d289e)<empty line>
logs when interleavingconsole.log/error
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6644 (9ece3)fast-glob
instead oftinyglobby
in Vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6688 (70baa)🏎 Performance
View changes on GitHub
v2.1.2
Compare Source
🐞 Bug Fixes
Vitest.setServer
to postconfigureServer
hook to enable import analysis for workspace config loading - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6584 (e7f35)BenchmarkResult.samples
array to reduce memory usage - by @hi-ogawa and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6541 (a6407)data:
protocol on preview provider file upload - by @userquin in https://github.com/vitest-dev/vitest/issues/6501 (e9821)*.astro
by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6565 (f8ff7)cleanOnRerun: false
to invalidate previous results - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6592 (88bde)toBeDefined
withexpect.poll
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6562 (f7da6)--cpu-prof
and--heap-prof
not working by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/pull/6555 (2e4d894)beforeAll
failed - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6524 (fb797)onTestFinished
andonTestFailed
duringretry
andrepeats
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6609 (c5e29)--standalone
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6577 (d0bf8)View changes on GitHub
v2.1.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v2.1.0
Compare Source
This release makes another big change to the Browser Mode by introducing locators API:
You can use either vitest-browser-vue, vitest-browser-svelte or vitest-browser-react to render components and make assertions using locators. Locators are also available on the
page
object from@vitest/browser/context
.Potential Breaking Change
vitest.config.ts
orvite.config.ts
inside the folder)projects/*
will match anything inside theprojects
folder. If it's a folder, we try to find the config inside that folder (if there is none, it is still treated as a project with the default config). If it's a file, it will be treated as a Vitest config.projects/**/*
previously would assume that you only wanted to have folders as projects, but now it will match every single file insideprojects
.🚀 Features
userEvent.upload
in playwright provider - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6442 (cf148)--inspect
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6433 (0499a)--inspect-brk
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6434 (7ab0f)--exclude-after-remap
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6309 (5932a){ spy: true }
instead of a factory - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6289 (95f02)vi.advanceTimersToNextFrame
- by @bnjm and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6347 (8ff63)fast-glob
totinyglobby
- by @SuperchupuDev in https://github.com/vitest-dev/vitest/pull/6274 (c321a)🐞 Bug Fixes
index
file - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6266 (081cf)expect.getState().testPath
always returns correct path - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6472 (ac698)vitest
and@vitest/*
versions don't match - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6317 (e662c)vitenode
for uncovered files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6044 (da52d)performance.now
instead ofDate.now
for duration - by @LuciNyan in https://github.com/vitest-dev/vitest/issues/6382 (fe489)toMatchInlineSnapshot
updates at the same location - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6332 (1606f)typecheck.include
overlaps withinclude
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6256 (153ff)View changes on GitHub
v2.0.5
Compare Source
🚀 Features
🐞 Bug Fixes
testNamePattern
adds leading space - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6186 (073a5)afterEach
cleanup hooks in node entrypoint - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6192 (e6fbc)defineProject
anddefineWorkspace
types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6198 (8cd82)node:*
imports in__mocks__
folder - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6204 (a48be)View changes on GitHub
v2.0.4
Compare Source
🐞 Bug Fixes
require
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6159 (807a2)*.cts
files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6189 (5da45)thresholds.<glob>.100
option - by @thor-juhasz and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6174 (f6845)mockImplementation
for function overload and unions - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6181 (7a75b)View changes on GitHub
v2.0.3
Compare Source
🚀 Features
🐞 Bug Fixes
--inspect-brk
stop on Windows - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6110 (f8519)vi.spyOn
toMockInstance
of function overload - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6086 (e9f9a)View changes on GitHub
v2.0.2
Compare Source
🐞 Bug Fixes
crypto.randomUUID
from the client - by @userquin in https://github.com/vitest-dev/vitest/issues/6079 (04c83)vitest
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6060 (95a2d)🏎 Performance
View changes on GitHub
v2.0.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v2.0.0
Compare Source
Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
--segfault-retry
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5514 (ed60e)threads
segfaults. Our current recommendation is to use the new defaultforks
pool instead.onTestFinished
hook. This can make your tests run a little bit slower.coverage.ignoreEmptyLines
by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5543 (31994)location
field pointed to the error location instead of the test location. Now it is aligned with jest and contains theline
andcolumn
of a test function, but requiresincludeTaskLocation
to be enabled.pool
to'forks'
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5047 (7f8f9)threads
pool: https://vitest.dev/guide/improving-performance.html#pool--merge-reports
to support coverage - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5736 (b7438)spy.mock.returns
. If the function is async or returns a promise, it will always succeed and have aPromise
inresults
. To make migration easier, we introducedspy.mock.settledResults
that unwraps promises andexpect().toHaveResolved()
matcher that accepts unwrapped value.json
output - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5802 (dd754)indexScripts
toorchestratorScripts
in the browser config - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5842 (49f34)pool
API - now requirescollectTests
method alongsiderunTests
.exclude
in coverage - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5997 (169bc)exclude
patterns ifcoverage.exclude
was overridden in the config. Add your test patterns manually, or merge your overrides with default ones:['**/my-pattern.js', ...coverageConfigDefaults.exclude]
. See https://vitest.dev/config/#coverage-exclude for an example.process.exit
if workspace project failed to be created - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5804 (a820e)process.exit
manually - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5926 (e9b63)🚀 Features
click
event - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5777 (839c3)page.screenshot
method - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5853 (81c42)userEvent
methods, addfill
anddragAndDrop
events - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5882 (4dbea)expect.dom
method and bundlejest-dom
matchers with@vitest/browser
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5910 (3a96a)tripleClick
to interactive api - by @userquin in https://github.com/vitest-dev/vitest/issues/5987 (200a4)--reporter=blob
flag to generate reports and combine them withvitest --merge-reports
later!--output-json
- by @Joristdh in https://github.com/vitest-dev/vitest/issues/5745 (0766b)parseAst
,parseAstAsync
from vite - by @sheremet-va (f645e)test.for
- by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5861 (c2380)🐞 Bug Fixes
--exclude
option - by @fregante in https://github.com/vitest-dev/vitest/issues/5782 (d6700)project.provide
type - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5959 (0eda9)preview
provider when running in StackBlitz - by @userquin in https://github.com/vitest-dev/vitest/issues/5836 (76e13)coverage.reporter
from string values - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5920 (f33da)thresholds.autoUpdate
to supportmergeConfig
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5818 (7afb3)stderr
ofstartVitest()
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5954 (70805)else
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6014 (368c1)test-exclude
to v7 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5867 (0a715)poolOptions.<name>.isolate
fromforks
options - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5840 (a60a1)toMatchFileSnapshot
with empty file - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5894 (88006)FileDetails
title status icon not being updated - by @userquin in https://github.com/vitest-dev/vitest/issues/5942 (e9ddf)VITE_
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6017 (d87be)provide
to the public API - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5897 (66e64)View changes on GitHub
v1.6.0
Compare Source
🚀 Features
includeConsoleOutput
andaddFileAttribute
in junit - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5659 (2f913)🐞 Bug Fixes
resolveId('vitest')
afterbuildStart
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5646 (f5faf)toJSON
for error serialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5526 (19a21)*.test-d.*
by default - by @MindfulPol in https://github.com/vitest-dev/vitest/issues/5634 (bfe8a)vite-node
's wrapper only to executed files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5642 (c9883)🏎 Performance
View changes on GitHub
v1.5.3
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.5.2
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.5.1
Compare Source
🚀 Features
startVitest()
to acceptstdout
andstdin
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5493 (780b1)startVitest
API is experimental and doesn't follow semver.🐞 Bug Fixes
import.meta.env.PROD: false
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5561 (9c649)onTestFinished
in reverse order - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5598 (23f29)fileParallelism
by default on browser pool - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5528 (5c69f)v8-to-istanbul
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5549 (df6a4)cleanOnRerun
is disabled - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5540 (ea3c1)thresholds
to compare files relative to root - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5574 (80265)toEqual
andtoMatchObject
with circular references - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5535 (9e641)View changes on GitHub
v1.5.0
Compare Source
🚀 Features
🐞 Bug Fixes
describe
calls not taking generic type parameters - by @aryaemami59 in https://github.com/vitest-dev/vitest/issues/5415 (16bac)process
is mocked - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5430 (0ec4d)toHaveBeenNthCalledWith
error message when not called - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5420 (e5253)isValidNodeImport
to check"type": "module"
first - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5416 (6fb15)View changes on GitHub
v1.4.0
Compare Source
🚀 Features
not
- by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5294 (b9d37)--project
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5295 (201bd)shuffle.files
andshuffle.tests
options - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5281 (356db)cache.dir
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5229 (d7e8b)--changed
option - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5314 (600b4)clearScreen
cli flag - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5241 (e1735)🐞 Bug Fixes
--project
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5265 (d1a06)--inspect-brk
to pause before execution - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5355 (e77c5)magic-string
tooptimizeDeps.include
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5278 (8f04e)reportsDirectory
from removing user's project - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5376 (07ec3)toContain/toMatch
assertion error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5267 (8ee59)defines
to supportundefined
values - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5284 (5b58b)onConsoleLog
return type - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5337 (6d1b1)beforeAll
andafterAll
- by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5288 (ce5ca)@vitest/coverage-v8
are used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5250 (29f98)View changes on GitHub
v1.3.1
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.3.0
Compare Source
🚀 Features
snapshotSerializers
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5092 (5b102)🐞 Bug Fixes
poolOptions
- by @penalosa in https://github.com/vitest-dev/vitest/issues/5221 (bc5b2)coverage.reportsDirectory
with multiple directories - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5056 (ae73f)--browser=<name>
correctly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5179 (656e2).tmp
directory conflicts with--shard
option - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5184 (5749d)defineWorkspace
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5089 (0bf52)jsdom
variable - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5164 (0f898)optimizeDeps.disabled
warnings on Vite 5.1 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5215 (1aecd)disableConsoleIntercept
config - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5074 (a55ad)View changes on GitHub
v1.2.2
Compare Source
🐞 Bug Fixes
coverage/.tmp
files after run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 (d53b8)toThrow(asymmetricMatcher)
failure message - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 (a199a)VITEST_POOL_ID
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 (7d0a4)ignoreSourceErrors
in run mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 (6dae3)useFakeTimers
to fakerequestIdleCallback
on non browser - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 (a9a48)import.meta.resolve
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 (cf564)View changes on GitHub
v1.2.1
Compare Source
🐞 Bug Fixes
thresholds.autoUpdate
to work with arrow function configuration files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4959 (4b411)AsymmetricMatcher
- by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4942 (06bae)await vi.hoisted
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4962 (dcf2e)View changes on GitHub
v1.2.0
Compare Source
🚀 Features
--disable-console-intercept
option to allow opting-out from automatic console log interception - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4786 (43fa6)🐞 Bug Fixes
server.headers
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4890 (55f53)testNamePattern
config - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4909 (4add9)objDisplay
default truncate option fortest.each
title - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4917 (9ae9d)process.exit
is called inside the test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4903 (8e6c1)pool
andpoolOptions
on project level - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4765 (e9fe4)View changes on GitHub
v1.1.3
Compare Source
🐞 Bug Fixes
slowTestThreshold
to all reporters - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4876 (1769c)View changes on GitHub
v1.1.2
Compare Source
🐞 Bug Fixes
expect(...).toMatchFileSnapshot()
matcher. - by @zmullett, Zac Mullett and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4839 (b8140)Promise
inmockImplementation
if it's not in the function signature - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4859 (072e0)vi.mock
is called - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4862 (e12a5)memoryLimit
- by @inottn and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4802 (70e8a)View changes on GitHub
v1.1.1
Compare Source
🐞 Bug Fixes
inline: true
is set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4815 (8f622)--no-parallelism
- by @bonyuta0204 in https://github.com/vitest-dev/vitest/issues/4831 (5053a)skip
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4814 (19faf)beforeAll/afterAll
errors in junit reporter - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4819 (2baea)View changes on GitHub
v1.1.0
Compare Source
🚀 Features
--workspace
option, fix root resolution in workspaces - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4773 (67d93)--no-file-parallelism
,--maxWorkers
,--minWorkers
flags - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4705 (fd5d7)--no-isolate
flag to improve performance, add documentation about performance - by @sheremet-va, @AriPerkkio and Pascal Jufer in https://github.com/vitest-dev/vitest/issues/4777 (4d55a)--exclude
CLI flag - by @Namchee and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4279 (f859e)🐞 Bug Fixes
toHaveProperty
assertion error diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4734 (f8f70)defineWorkspace
fix intellisense and report type errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4743 (9cc36)View changes on GitHub
v1.0.4
Compare Source
The previous release was built incorrectly and didn't include the performance fix. This release fixes that.
🐞 Bug Fixes
--coverage.all=false
resolved incorrectly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4697 (a7931)🏎 Performance
log-update
to v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)View changes on GitHub
v1.0.3
Compare Source
🐞 Bug Fixes
🏎 Performance
log-update
to v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)View changes on GitHub
v1.0.2
Compare Source
🐞 Bug Fixes
stripSnapshotIndentation
for thrown snapshot - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4663 (74820)URL
equality check only whenURL
is available - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4670 (43783)View changes on GitHub
v1.0.1
Compare Source
🐞 Bug Fixes
peerDependencies
versions - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4654 (42070)View changes on GitHub
v1.0.0
Compare Source
Vitest 1.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
pool
andpoolOptions
, remove old flags - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4172 (114a9)child_process
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3925 (8b4a4)vitest
peer dependency range for sub packages - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4299 (cd03c)expect().toContain()
can handle classList, Node.contains, and any array-like structure. This means you cannot use it to check if one object is a subset of another - useexpect().toMatchObject()
in that case - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4239 (ce84f)transformMode
and workspace project based source maps - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4309 (28109cc)coverage.all
by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4265 (5a741)🚀 Features
/* v8 ignore...
ignore hints - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4573 (f9e4a)expect.closeTo
api - by @Dunqing and golebiowskib in https://github.com/vitest-dev/vitest/issues/4260 (7f91c)🐞 Bug Fixes
nextTick
mocking error message to mention correct config option - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4215 (98fe3)expect
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4405 (9fe38)Error
instance for thrown snapshot - by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4396 (ac309)retry
andbail
from test config file - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4530 (94f9a)pretty-format
as a sibling dependency - by @nicojs in https://github.com/vitest-dev/vitest/issues/4590 (ed50a)stdin
when in run mode - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4310 (fc51a)pool
andpoolMatchGlobs
in defineConfig - by @InfiniteXyy in https://github.com/vitest-dev/vitest/issues/4282 (9112c)thresholdAutoUpdate
to detect zero limits - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4287 (a29fe)Object.freeze
breakstoEqual
- by @Dunqing in https://github.com/vitest-dev/vitest/issues/4303 (a4501)error
option from TaskResult - by @Dunqing in https://github.com/vitest-dev/vitest/issues/4313 (4cee6)vi.hoisted
if assigned - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4285 (ff93a)🏎 Performance
log-update
v9 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4390 (ba1df)all: true
instruments already instrumented files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4552 (d1e1b)View changes on GitHub
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Renovate Bot.
78a3970e82
to3680f21917
3680f21917
to3e9720e105
3e9720e105
to92e1751340
92e1751340
to496ef3e41e
496ef3e41e
toefe8ee4a80
efe8ee4a80
toc396a220c5
c396a220c5
toa0511ce009
a0511ce009
to6cb0ad9650
6cb0ad9650
to8403673c0b
8403673c0b
to31b547222b
31b547222b
tocefa2fd7c2
cefa2fd7c2
to6b1b4c285f
6b1b4c285f
tod345c8e62e
d345c8e62e
toeecf86ff68
eecf86ff68
to52b65ee19e
52b65ee19e
to36da22ae16
36da22ae16
to62cbee328f
62cbee328f
tocbfad97746
cbfad97746
to0118487845
0118487845
to48fd5ad859
48fd5ad859
to18f4b291e2
18f4b291e2
to1ba2bfe22b
1ba2bfe22b
toba1c78ca6d
ba1c78ca6d
tode7f729780
de7f729780
to20ba25c3be
20ba25c3be
to2628757684
2628757684
to72dbf7c1ba
72dbf7c1ba
to8b75cf378c
8b75cf378c
to1a0cfb7af0
1a0cfb7af0
toc58fc8798e
c58fc8798e
toe73877bdfb
e73877bdfb
tobd2292cc29
bd2292cc29
tof682652fe9
f682652fe9
to6f66bd1b6c
6f66bd1b6c
to9aff4992ad
9aff4992ad
to852c8a380a
852c8a380a
tob7c09ab975
b7c09ab975
to4ff5d08086
4ff5d08086
tobad0978e3e
bad0978e3e
to595431e1d6
595431e1d6
tod4e16a4980
d4e16a4980
toc10d6b195f
c10d6b195f
toe98cbb6856
e98cbb6856
to6e0ccfeaab
6e0ccfeaab
to3552d73ad7
3552d73ad7
to42539c5953
42539c5953
to98c8f22bdc
98c8f22bdc
tod56428c095
d56428c095
to9d2d7241a6
9d2d7241a6
tof85ebe5652
f85ebe5652
to59ec28ae39
59ec28ae39
to2acd79e843
2acd79e843
tofa4c3af3a2
fa4c3af3a2
to58fa360719
58fa360719
tod3dcafb245
d3dcafb245
to823172d8e5
823172d8e5
to7272c9c509
7272c9c509
to2180b79344
2180b79344
toc5385dfebd
c5385dfebd
to82e0fecdda
82e0fecdda
todeede2500a
chore(deps): update dependency vitest to v1to chore(deps): update dependency vitest to v2deede2500a
to350c5a2097
350c5a2097
to566ef55f25
566ef55f25
to179f460818
179f460818
to4035cc095b
4035cc095b
tofa9c2e142f
fa9c2e142f
to436c121200
436c121200
to0d55c29ab5
0d55c29ab5
tof7cba50c60
f7cba50c60
toa34ecf1376
a34ecf1376
toaaf92d1645
aaf92d1645
to86add50999
86add50999
to031f809554
031f809554
to67c101d555
67c101d555
todb5e4900d2
db5e4900d2
to87c341dc42
87c341dc42
to4707c9f77b
4707c9f77b
tod0d33a414e
d0d33a414e
to000663ceff
000663ceff
tod3f4c15399
d3f4c15399
to4d9db966f3
4d9db966f3
to0b8b62bd8f
0b8b62bd8f
toaa6fbaf32d
aa6fbaf32d
to25bd3fdf1f
25bd3fdf1f
to6b6d36637b
6b6d36637b
to25f2b35f98
25f2b35f98
to33e5905c4b
33e5905c4b
to30a1f512c3
30a1f512c3
tod7543c3ada
d7543c3ada
toe110888242
e110888242
toa35cfc6ab8
a35cfc6ab8
to294bd3a286
294bd3a286
tob537aa7e72
b537aa7e72
to9f26730c8e
9f26730c8e
tob9bd3ef34e
b9bd3ef34e
to378a8ce219
378a8ce219
to1da3a8d839
1da3a8d839
tob31d0960d3
b31d0960d3
to61d5fbaa50
61d5fbaa50
to9186491c94
9186491c94
tobe86276ce2
be86276ce2
to07994e2109
07994e2109
toc74b5eedb8
c74b5eedb8
to525ee6f70b
525ee6f70b
toda6e1c35ee
da6e1c35ee
to6489347105
6489347105
to94b596563e
94b596563e
to6a50bfb3d1
6a50bfb3d1
toda522155e4
da522155e4
toac91946cb6
ac91946cb6
toeefd0b0c76
eefd0b0c76
tod241530209
d241530209
toa678ff893c
a678ff893c
to96e0933bbc
96e0933bbc
to885636bb79
885636bb79
tofd0e372758
fd0e372758
tobd4155c65f
bd4155c65f
tod70edaf08c
d70edaf08c
to36262e2334
36262e2334
toa5d0fbe6cc
a5d0fbe6cc
to456e625d35
456e625d35
toc1edaa0c5f
c1edaa0c5f
to2ac09bc838
2ac09bc838
to4b052185dc
4b052185dc
to1f15cbb80e
1f15cbb80e
tof859081b0f
f859081b0f
to5bb7be0946
5bb7be0946
toa08592ffc0
a08592ffc0
to6cfc5cc457
6cfc5cc457
to2bef083d5a
2bef083d5a
to00f2a3c7d8
00f2a3c7d8
to48927f08da
48927f08da
tof8ab23ba30
f8ab23ba30
to201cf842d3
201cf842d3
to56a844c531
56a844c531
to658356bdfb
658356bdfb
to4f64ef1692
4f64ef1692
to96a36a959f
96a36a959f
to1e3ef740ad
1e3ef740ad
toc24a055960
c24a055960
to2fb2cecb7b
2fb2cecb7b
tofaba990703
faba990703
to1d05d17bc9
1d05d17bc9
todf9e3e76ba
df9e3e76ba
to7ebc9925e6
7ebc9925e6
tob7ab6ec6b4
b7ab6ec6b4
to23ca50b524
23ca50b524
to4bcefdf9d4
4bcefdf9d4
tod92aab212e
d92aab212e
to2435e0e1da
2435e0e1da
to9a6992dca6
9a6992dca6
to81f1229a51
81f1229a51
to028c8ef1a9
028c8ef1a9
to5d812c6779
5d812c6779
to87e08f6a45
87e08f6a45
toab67104c98
ab67104c98
to3ab130a0ac
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.