638 Commits

Author SHA1 Message Date
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
Ari Perkkiö
114a993c00
feat!: add support for pool and poolOptions, remove old flags (#4172) 2023-10-02 14:13:40 +02:00
Ari Perkkiö
8b4a44ad16
feat!: support multiple parallel child_process (#3925) 2023-09-27 09:39:26 +02:00
Han
2fafc000d0
docs: remove log language warning (#4075) 2023-09-08 13:22:40 +03:00
Vladimir
5c88d8e582
feat(vitest): allow calling skip dynamically (#3966) 2023-08-16 15:41:41 +02:00
Joaquín Sánchez
6ecfc4e1a9
fix(ui): add support for ui coverage with subdir option (#3917) 2023-08-15 19:04:53 +02:00
Kanad Gupta
867dbf60f0
docs(migration): use headers instead of bold text (#3927) 2023-08-14 15:42:43 +02:00
Christopher Haws
38aad4ea1e
docs: fix incorrect word in getting started docs (#3895) 2023-08-14 10:25:20 +02:00
Oskar Olsson
1eb5eba4f9
docs: remove section about jasmine from migration page (#3920) 2023-08-14 10:24:56 +02:00
Vladimir
b09298528b
feat!: support running tests using VM context (#3203)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-08-01 08:59:55 +02:00
Jianqi Pan
2e5847ec91
doc: add writing tests section in getting started (#3843)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-07-30 10:47:08 +02:00
Vladimir
d4f1e620a4
docs: clarify how config file works (#3832) 2023-07-30 10:46:52 +02:00