651 Commits

Author SHA1 Message Date
Vladimir
5cdeb558c2
feat!: move browser providers to @vitest/browser package (#4364) 2023-10-27 09:02:11 +02:00
Vladimir
29299f3ce2
fix!: remove deprecated node loader (#4371) 2023-10-25 15:11:47 +02:00
Vladimir
ffaf16b489
chore: remove unused dependencies from monorepo (#4359) 2023-10-24 11:50:31 +02: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
Clark Fischer
6b73473fa4
feat(vitest): filter stacktraces (fix #1999) (#4338) 2023-10-23 17:04:34 +02:00
Bjorn Lu
fde1843ed8
feat: update magic-string (#4345) 2023-10-23 11:52:31 +02:00
Lars Salembier
ca6ea7ee7c
docs: added missing falsy values. (#4351) 2023-10-23 11:51:05 +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
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
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