Next generation testing framework powered by Vite.
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)
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
and shuffle.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)
--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
to optimizeDeps.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 support undefined
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
and afterAll
- 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)
snapshotSerializers
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5092 (5b102)
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)
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 fake requestIdleCallback
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)
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)
--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)
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 for test.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
and poolOptions
on project level - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4765 (e9fe4)
slowTestThreshold
to all reporters - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4876 (1769c)
expect(...).toMatchFileSnapshot()
matcher. - by @zmullett, Zac Mullett and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4839 (b8140)
Promise
in mockImplementation
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)
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)