2957 Commits

Author SHA1 Message Date
Lars Salembier
ca6ea7ee7c
docs: added missing falsy values. (#4351) 2023-10-23 11:51:05 +02:00
Vladimir
4293e1b151
fix(vitest): run globalSetup from the root config even if it's not in a workspace (#4325) 2023-10-19 11:46:59 +02:00
Vladimir
a1aadd713c
feat(vitest): run typecheck during tests (#4324) 2023-10-19 11:21:51 +02:00
Rahul Singh
df4606dca2
docs: typo on config page (#4334) 2023-10-19 09:07:40 +02:00
Malki Abdurrahman
30ddd2614b
docs: add bun to vitest installation (#4331) 2023-10-19 09:07:18 +02:00
Vladimir
80a706a168
fix(expect): publish semantically correct chai types (#4322) 2023-10-17 10:24:07 +02:00
Marvin
23968580ce
test: address conflicts in port usage for browser-related test suites. (#4306) 2023-10-16 10:21:32 +02:00
Dunqing
4cee671188
fix(runner): removes deprecated error option from TaskResult (#4313)
BREAKING CHANGE: `error` property is no longer available
2023-10-16 10:20:22 +02:00
Dunqing
f8e472404e
docs: update pool and poolOptions in cli documentation (#4312) 2023-10-16 10:18:02 +02:00
Bjorn Lu
01b1c55c82
feat(vite-node): support import.meta.hot.off for vite 5 (#4315) 2023-10-16 08:20:41 +01:00
Dunqing
8ac9f8b1fa
fix(runner): nested tests should throw errors (#4262) 2023-10-16 08:19:57 +01:00
Dunqing
a4501d6bdc
fix(expect): Object.freeze breaks toEqual (#4303) 2023-10-16 08:19:23 +01:00
Dunqing
a25f6018b6
refactor: improve benchmark implementation (#4268) 2023-10-16 08:18:33 +01:00
InfiniteXyy
9112cc96b4
fix(config): type issue of pool and poolMatchGlobs in defineConfig (#4282) 2023-10-13 17:08:59 +01:00
Henning Schindler
e836b2b8bc
docs: fix typo (#4300) 2023-10-13 17:05:06 +01:00
Filipe Brito Ferreira
b143985201
fix: export VitestUtils interface (#4301) 2023-10-13 16:17:20 +01:00
Ari Perkkiö
cd03cb5104
fix!: set vitest peer dependency range for sub packages (#4299) 2023-10-13 16:15:01 +01:00
Dunqing
6451bc609d
test: fix case failing in windows (#4245) 2023-10-13 08:42:57 +01:00
Vladimir Sheremet
edddc8ff76 chore: release v1.0.0-beta.2 v1.0.0-beta.2 2023-10-12 20:26:06 +01:00
Vladimir
76607ead16
chore: update magic-string to use "hires: boundary" (#4284) 2023-10-10 13:27:42 +02:00
Vladimir
ff93a5737c
fix(vitest): correctly hoist vi.hoisted if assigned (#4285) 2023-10-10 13:24:30 +02:00
Dylan Piercey
eac7776521
feat: add Marko example and include code coverage for Marko files (#4263) 2023-10-08 18:53:36 +02:00
Ari Perkkiö
5a741ca24a
feat!: enable coverage.all by default (#4265) 2023-10-07 10:09:16 +02:00
Chris Fougner
611f0b211a
docs: make it more explicit where options go (#4266) 2023-10-07 10:09:06 +02:00
Dunqing
7f91c6f6f9
feat(expect): support expect.closeTo api (#4260)
Co-authored-by: golebiowskib <bartosz.golebiowski@@ttpsc.pl>
2023-10-07 10:08:46 +02:00
Dunqing
de52215223
docs: update vite.config.ts to vitest.config.ts (#4259) 2023-10-06 11:34:20 +02:00
Alexandru Bereghici
1f58a42ec8
chore(contributors): remove unnecessary ts assertions (#4248)
Co-authored-by: Alexandru Bereghici <abereghici@tripadvisor.com>
2023-10-06 11:25:58 +02:00
Vladimir
d280f48908
fix(vitest): support assets in new URL in Vite 5 (#4258) 2023-10-06 11:02:36 +02:00
Vladimir
e7e8c3cc0d
fix(browser): improve error handling and don't rely on Node.js builtin modules in browser mode (#4244) 2023-10-06 09:57:22 +02:00
Ben McCann
c05b11a0fa
docs: mention -t, --testNamePattern option on filtering page (#4252) 2023-10-06 09:13:14 +02:00
Ben McCann
373e885537
docs: fix typo in pool-options.ts (#4253) 2023-10-06 09:12:22 +02:00
Dunqing
76a9329844
fix(runner): fixture needs to be initialized for each test (#4250) 2023-10-06 09:11:54 +02:00
Dunqing
da8d057038
fix(vitest): failed to load custom environment from js/ts file (#4255)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-10-06 09:10:22 +02:00
Vladimir
dc1e97d1bb
docs: improve migration guide, replace diff with !code (#4249) 2023-10-06 09:08:13 +02:00
Dunqing
ec2e804065
fix(vitest): print file path instead of "unknown test" when logging (#4146) 2023-10-05 08:59:55 +02:00
Vladimir
935046196a
fix(vitest): deduplicate vitest when running globally or in a workspace (#4238) 2023-10-04 14:20:23 +02:00
Vladimir
62d0080289
chore: upgrade rollup dependencies (#4235) 2023-10-04 13:07:44 +02:00
Vladimir Sheremet
22181f0209 chore: release v1.0.0-beta.1 v1.0.0-beta.1 2023-10-03 13:30:40 +02:00
Vladimir Sheremet
0353412c99 build: add release beta script 2023-10-03 13:30:28 +02:00
Dunqing
77ea932661
fix(vite-node): mjs files watch not work (#3982) 2023-10-03 13:24:02 +02:00
Vladimir
271ec3da62
docs: update Vitest tagline (#4220) 2023-10-03 12:52:11 +02:00
Vladimir
ca5dbef471
fix(vite-node): have a separate cache for web/ssr transforms (#4221) 2023-10-03 12:51:57 +02:00
Vladimir Sheremet
5996c8c015 fix(expect): publish types file
Fixes #4218
2023-10-03 09:21:57 +02:00
Pooya Parsa
bca21a2821
chore: use ofetch and latest node-fetch-native (#4216) 2023-10-03 08:45:14 +02:00
Vladimir Sheremet
fad4663154 chore: release v1.0.0-beta.0 v1.0.0-beta.0 2023-10-02 18:39:42 +02:00
Vladimir
0646197e13
fix(vitest): don't initialize globalSetup if workspace doesn't run tests (#4213) 2023-10-02 16:46:09 +02:00
Ari Perkkiö
98fe3d5540
fix: nextTick mocking error message to mention correct config option (#4215) 2023-10-02 16:45:53 +02:00
Vladimir
2e1a1bd42b
fix(happy-dom): don't crash when calling useFakeTimers with empty config (#4214) 2023-10-02 15:54:04 +02:00
Vladimir
b7ebfef68d
chore: update tinyspy (#4212) 2023-10-02 15:06:37 +02:00
Vladimir
5f4774fcc4
fix(vitest): inline chai types instead of using @types/chai (#4209) 2023-10-02 14:26:17 +02:00