299 Commits

Author SHA1 Message Date
Ari Perkkiö
ba7ae53b22
docs: rewrite mention of old --no-threads option (#4978) 2024-01-17 15:42:51 +01:00
Hogo
3e6668e23e
docs: Add default test name tip (#4832) 2024-01-15 14:12:50 +01:00
Ari Perkkiö
96dc6e9aaf
feat(coverage): custom reporter support (#4828) 2024-01-12 14:25:43 +01:00
Hiroshi Ogawa
43fa6baa6d
feat(vitest): add --disable-console-intercept option to allow opting-out from automatic console log interception (#4786) 2024-01-12 14:19:34 +01:00
Metehan-Altuntekin
9ec3f743ed
docs: make definition clearer in workspace guide (#4926) 2024-01-10 18:06:01 +01:00
Vladimir
0e77e697cb
fix(vitest): correctly parse --maxWorkers/--minWorkers (#4924) 2024-01-10 14:58:18 +01:00
Vladimir
e12a5a36f4
fix(vitest): throw an error if mock was already loaded when vi.mock is called (#4862) 2024-01-04 17:35:06 +01:00
Pascal Berger
58d3657006
docs: fix rendering of note (#4822)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-01-03 15:37:00 +01:00
Yuta Nakamura
5053a5dd7e
fix: correct option name --no-parallelism (#4831) 2023-12-31 12:43:38 +02:00
Vladimir
578db5e33a
docs: add "improving performance" to guide list (#4779) 2023-12-28 16:53:17 +01:00
Hiroshi Ogawa
ef9a53fd7b
docs: fix custom snapshot serializer example (#4807) 2023-12-28 15:33:45 +01:00
Cristopher
f859efc094
feat: add --exclude CLI flag (#4279)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-12-19 14:53:26 +01:00
Vladimir
4d55a026d2
feat: add --no-isolate flag to improve performance, add documentation about performance (#4777)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-19 12:57:03 +01:00
Vladimir
fd5d7e66e4
feat: add --no-file-parallelism, --maxWorkers, --minWorkers flags (#4705)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-12-19 11:35:22 +01:00
Vladimir
67d93eda66
feat: add --workspace option, fix root resolution in workspaces (#4773)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-12-19 11:34:11 +01:00
Artem Zakharchenko
2b911d21f3
docs(mocking): fix broken msw links (#4714) 2023-12-09 12:23:52 +01:00
Vladimir Sheremet
ee3c6d8524 docs: add virtual modules section 2023-12-04 16:44:03 +01:00
Vladimir
0c71c93f3c
docs: add migration guide from Vitest 0.34 (#4628)
Co-authored-by: AriPerkkio <ari.perkkio@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-12-04 15:24:15 +01:00
Vladimir
2ff35330b2
docs: add section about mocking methods inside the same file (#4611)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-11-29 10:34:58 +01:00
Pascal Jufer
cb87f44e76
docs: fix grammar/stylistic issues (#4534)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-11-28 13:37:07 +01:00
MaoShizhong
23a55e8548
chore: Fix snapshot.md "escape" grammar (#4606) 2023-11-28 13:35:41 +01:00
Ann Kilzer キルザー杏
2b2416dbdb
docs: correction to configuration parameter (#4587) 2023-11-27 13:28:24 +01:00
Vladimir
58ef51a9c4
feat: add --project option to limit what projects are running (#4561)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-11-24 13:46:31 +01:00
Ari Perkkiö
f9e4ad8310
feat(coverage): support /* v8 ignore... ignore hints (#4573) 2023-11-23 15:29:39 +01:00
Vladimir
0a14dd81fb
docs: mention --typecheck flag in docs (#4566) 2023-11-22 13:01:02 +01:00
Alex Nicholls
6a149a644a
docs: Update incorrect import in request mocking example (#4527) 2023-11-18 09:30:01 +01:00
Vladimir
0ccf5ac57e
docs: update msw example (#4502) 2023-11-15 16:43:02 +01:00
Vladimir
cc19117d30
chore: migrate to flat eslint config (#4472) 2023-11-11 08:07:39 +01:00
Vladimir Sheremet
982e29b0d3 chore: add 1.0 to readme and docs 2023-11-10 20:54:20 +01:00
Misha Kaletsky
183005e9c9
feat: improve expectTypeOf error messages (#4206)
Co-authored-by: Misha Kaletsky <mmkal@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-11-10 18:54:54 +01:00
kare-rentelligent
6a92f27a54
docs: fix incorrect instructions for avoiding in-source tests in production builds (#4431) 2023-11-10 13:40:02 +01:00
Vladimir Sheremet
9cabf7691e chore: update vite requirements in docs and readnme 2023-11-10 13:24:26 +01:00
Mackie Underdown
3bec5d1cf5 docs(environment): add missing expect import 2023-11-08 08:37:03 +01:00
Vladimir
8983cd48e8
fix: don't expand snapshot diff by default (#4430) 2023-11-06 08:59:01 +01:00
Hiroshi Ogawa
ac30972674
fix: apply serializer to Error instance for thrown snapshot (#4396)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-11-02 15:11:35 +01:00
Vladimir
970038b2d0
docs: remove extra spaces before paragraphs in documentation (#4426) 2023-11-02 15:08:26 +01:00
Vladimir
eda66e8639
docs: prefer .js extension in the documentation (#4411) 2023-10-31 14:39:43 +01:00
Vladimir
76392b9dcd
chore: add test for fixture example from the docs (#4410) 2023-10-31 14:28:01 +01:00
Vladimir
d40b3a5813
refactor!: remove EnhancedSpy type, deprecate SpyInstance, improve mocks and vi documentation (#4400)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-10-31 12:20:41 +01:00
Maxim Gavrilenko
9995edbe66
docs: update migration.md (#4354) 2023-10-23 20:27:37 +02:00
Allison Pratt
d990640d65
docs: reporter guide (#4336)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-10-23 17:41:02 +02:00
Vladimir
a1aadd713c
feat(vitest): run typecheck during tests (#4324) 2023-10-19 11:21:51 +02:00
Malki Abdurrahman
30ddd2614b
docs: add bun to vitest installation (#4331) 2023-10-19 09:07:18 +02:00
Dunqing
f8e472404e
docs: update pool and poolOptions in cli documentation (#4312) 2023-10-16 10:18:02 +02:00
Henning Schindler
e836b2b8bc
docs: fix typo (#4300) 2023-10-13 17:05:06 +01:00
Dunqing
de52215223
docs: update vite.config.ts to vitest.config.ts (#4259) 2023-10-06 11:34:20 +02:00
Ben McCann
c05b11a0fa
docs: mention -t, --testNamePattern option on filtering page (#4252) 2023-10-06 09:13:14 +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
Vladimir
271ec3da62
docs: update Vitest tagline (#4220) 2023-10-03 12:52:11 +02:00