359 Commits

Author SHA1 Message Date
Han
5b1021daf7
feat(config): add snapshotSerializers option (#5092) 2024-02-06 13:21:34 +01:00
Ari Perkkiö
fec9ca0b9c
feat(reporters): support custom options (#5111) 2024-02-05 17:56:36 +02:00
Paul
2c5d192a0b
docs: use same pattern in examples (#5051) 2024-01-30 22:51:45 +01:00
Vladimir
5471cc3861
Revert "docs: add ant-design-web3 using vitest" (#5077) 2024-01-30 14:39:19 +01:00
thinkasany
c769a7f6e2
docs: add ant-design-web3 using vitest (#5066) 2024-01-30 21:02:58 +08:00
Ari Perkkiö
915d6c4317
fix(threads): mention common work-around for the logged error (#5024) 2024-01-26 07:10:22 +02:00
Enrique Pando
cfd0611873
docs: fix typo (#5017) 2024-01-24 00:16:26 +01:00
Hiroshi Ogawa
36bc6997c4
chore: add typecheck and workspace examples (#5006) 2024-01-20 08:40:06 +01:00
Luca Lazcano
538975eaec
docs: update IDE.md (#5014) 2024-01-19 19:41:02 +01:00
Basil
f74583fe8e
docs: fix typo (#5005) 2024-01-19 11:04:47 +01:00
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