639 Commits

Author SHA1 Message Date
Henning Schindler
e836b2b8bc
docs: fix typo (#4300) 2023-10-13 17:05:06 +01: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
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
Pooya Parsa
bca21a2821
chore: use ofetch and latest node-fetch-native (#4216) 2023-10-03 08:45:14 +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 Sheremet
4da7caa92a chore: fix inconsistencies 2023-10-02 14:18:45 +02:00
Ari Perkkiö
114a993c00
feat!: add support for pool and poolOptions, remove old flags (#4172) 2023-10-02 14:13:40 +02:00
Vladimir
db1ff43807
fix: ignore "plugins" field in snapshotFormat option (#4204) 2023-10-01 14:46:37 +02:00
Vladimir
e744d9e411
fix!(runner): correctly process custom tasks, update runner hooks naming (#4076) 2023-09-29 13:55:45 +02:00
Vladimir Sheremet
f8dacb2c2c docs: have waitFor/waitUtil on the top level 2023-09-27 11:33:55 +02:00
Ajay
84f442f7dd
docs: vi.doMock includes that it mocks subsequent dynamic imports (#4169) 2023-09-27 09:44:54 +02:00
Ari Perkkiö
8b4a44ad16
feat!: support multiple parallel child_process (#3925) 2023-09-27 09:39:26 +02:00
Anthony Blond
1f0249ee22
docs: remove reference to vi.restoreCurrentDate() from doc (does not exist) (#4160) 2023-09-22 11:00:46 +02:00
Han
b50cf7ad9c
feat(config): add diff option (#4063)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-09-18 17:47:19 +02:00
Vladimir Sheremet
d284e12425 chore: improve waitFor/waitUntil examples 2023-09-16 10:20:07 +02:00
Dunqing
e0ac97cf6e
feat(vitest): support vi.waitUntil method (#4129)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-09-16 10:11:00 +02:00
Sanjaiyan Parthipan
b245ce3d43
docs: concurrent image downloading and as an attribute for prefetch links (#4122) 2023-09-15 10:54:39 +02:00
Sanjaiyan Parthipan
1fe92676ed
docs: enhancements for a smoother user experience 2023-09-15 10:52:59 +02:00
Dunqing
d79cb44bf8
feat(vitest): support vi.waitFor method (#4113)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-09-14 10:16:35 +02:00
Marcelo Botega Fontana
a7e09939e4
feat(coverage): add coverage['100'] to istanbul provider (#4109) 2023-09-13 15:28:45 +02:00
Vladimir Sheremet
b75f91d265 docs: remove outdated statement 2023-09-13 10:14:58 +02:00
Marcelo Botega Fontana
ba1e7335f9
fix(docs): fix lint errors on onConsoleLog example (#4116) 2023-09-12 11:25:53 +02:00
Marcelo Botega Fontana
19922d9b6e
docs: add onConsoleLog (#4115) 2023-09-12 10:36:37 +02:00
Han
2fafc000d0
docs: remove log language warning (#4075) 2023-09-08 13:22:40 +03:00
Lo
c48fef540a
docs: fix typo (#4066) 2023-09-04 10:33:52 +02:00
Vincent François
7dac05943b
docs: add example for merging vite config defined as a function (#3978) 2023-08-24 14:24:55 +02:00
Dunqing
e8f7b08620
docs: fix typo related to reporters (#4008) 2023-08-24 14:23:09 +02:00
Stefan Vojvodic
c03faa2204
feat(coverage): add allowExternal option (#3894)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-08-21 18:34:40 +02:00
Dunqing
5704b341f1
feat(vitest): export all reporters in vitest/reporters (#3980)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-08-21 18:31:31 +02:00
Felix
20263d9d26
fix: add workspace config files to default coverage excludes (#3973)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-08-21 18:29:19 +02:00
Vladimir
74dc5967a6
fix(vitest): correctly resolve optimizer status (#3992) 2023-08-21 18:28:40 +02: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
Arthur Datsenko-Boos
5a07cffa55
docs: Fix sentence inside vi.md (#3897)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-08-15 17:48:59 +02:00
Kanad Gupta
867dbf60f0
docs(migration): use headers instead of bold text (#3927) 2023-08-14 15:42:43 +02:00
Vladimir Sheremet
dbf0e97953 docs: fix return type for vi.fn 2023-08-14 11:49:54 +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
f4e6e99fa3
feat: allow importing CSS and assets inside external dependencies (#3880) 2023-08-03 17:43:50 +02:00
Vladimir
4b946ca91e
feat: add preact example, remove optimizer experimental status, enable by default (#3854)
Co-authored-by: eryue0220 <eryue0220@gmail.com>
2023-08-01 11:53:31 +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