344 Commits

Author SHA1 Message Date
Vladimir
3c18ecf720
docs: replace Vitest 2.2 mentions (#7025) 2024-12-06 09:46:48 +01:00
Vladimir
e3144fd8da
fix(vitest)!: don't expose default toFake config (#6288) 2024-12-05 15:23:40 +01:00
Joe
db7a888801
feat!: spy.mockReset changes (#6426) 2024-12-05 15:01:06 +01:00
Vladimir Sheremet
a11d565422
docs: replace <details> with ::: details 2024-12-04 20:41:35 +01:00
Vladimir
2324375c06
docs: remove irrelevant vitest.config references and update the sidebar (#7006) 2024-12-02 17:37:37 +01:00
Vladimir
98c7e51918
refactor: deprecate environmentMatchGlobs and poolMatchGlobs in favor of workspace (#6922) 2024-12-01 23:17:14 +01:00
Vladimir
38e50f1bbd
docs: show icons in code-groups and code titles, update sidebar (#6970) 2024-11-27 09:46:01 +01:00
Vladimir
a5bbc0a94a
feat: provide the current project to the global setup (#6942) 2024-11-25 17:01:03 +01:00
Vladimir
ac1a7fdc62
fix(browser): explain TypeScript support in docs and add asymmetric matchers to types (#6934) 2024-11-25 17:00:47 +01:00
Vladimir
562e1b1437
feat: allow inline workspace configuration (#6923) 2024-11-19 13:28:09 +01:00
Hiroshi Ogawa
746d898651
feat(snapshot): provide config to resolveSnapshotPath (#6800) 2024-11-13 17:04:34 +01:00
Vladimir
e26e066c77
feat(vitest): add onTestsRerun method to global setup context (#6803) 2024-11-13 17:01:32 +01:00
Hiroshi Ogawa
391860f79b
feat: support inline diff options and support printBasicPrototype (#6740)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: Michał Grzegorzewski <4864089+spamshaker@users.noreply.github.com>
2024-11-13 16:59:31 +01:00
Vladimir
e934f8d972
docs: changing -> editing (#6815) 2024-10-29 20:01:21 +01:00
Michael Nwani
d54eb352d2
docs: fix typo in fakeTimers.shouldClearNativeTimers option (#6743)
Co-authored-by: Michael Nwani <mnwani@atlassian.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-10-28 13:38:15 +01:00
Vladimir
169028f03a
feat(browser): allow custom HTML path, respect plugins transformIndexHtml (#6725) 2024-10-25 14:38:16 +02:00
Vladimir
2e6aa6475f
fix(vitest): clarify slowTestThreshold, print slow tests in non-TTY mode (#6715) 2024-10-15 14:30:10 +02:00
Kamontat Chantrachirathumrong
c4076e64cf
docs: update invalid link (#6698) 2024-10-13 10:41:41 +09:00
Vladimir
502ecbfea8
docs: mention that the browser mode uses 63315 port (#6691) 2024-10-11 17:46:07 +02:00
Arya Emami
11b9432eca
docs: update the default browser.provider (#6673) 2024-10-09 22:20:06 +02:00
Ari Perkkiö
88bde99cda
fix(coverage): cleanOnRerun: false to invalidate previous results (#6592) 2024-10-02 09:54:43 +02:00
Hiroshi Ogawa
891d6fe57c
docs: deprecate benchmark.outputFile option (#6591) 2024-09-30 17:45:31 +02:00
Steve Axtmann
e6730909b3
docs(config): fix spelling mistake (#6578) 2024-09-26 12:12:41 +02:00
Ari Perkkiö
f8ff76a95e
fix(coverage): include *.astro by default (#6565) 2024-09-25 09:12:41 +03:00
Ari Perkkiö
8c0a513b1e
docs: version for coverage.thresholds.<glob>.100 (#6196) 2024-08-12 16:14:38 +02:00
Ari Perkkiö
5932a7f988
feat(coverage): add --exclude-after-remap (#6309) 2024-08-12 16:05:53 +02:00
Gabrijel Škoro
6e06278280
docs: updating a typo property name inside css.modules (#6315) 2024-08-09 17:19:19 +02:00
Vladimir
4409d779db
feat(vitest): add "provide" option (#6253) 2024-08-09 15:15:00 +02:00
Vladimir
3347f83e5a
feat(browser): introduce built-in locators (#6084) 2024-08-07 08:18:27 +02:00
Tim Weißenfels
c72506b1a3
docs: Fix grammar error in browser config documentation (#6261) 2024-08-02 10:18:49 +02:00
Vladimir
57d23cec43
docs: fix inconsistencies, remove low informative twoslash examples (#6200) 2024-07-23 14:52:21 +02:00
Ari Perkkiö
5da45db152
fix(coverage): ignore *.cts files (#6189) 2024-07-22 11:00:38 +02:00
Thor Juhasz
f68453f891
feat(coverage): add thresholds.<glob>.100 option (#6174)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-07-21 17:20:00 +03:00
Thor Juhasz
02e3f00370
fix(coverage): global thresholds to include files from glob thresholds (#6172)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-07-21 16:51:19 +03:00
Vladimir
80a43d5c7c
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#6077) 2024-07-10 15:08:44 +02:00
Sung Ye In
b1a27d4049
feat(config): allow percentage value for workers option (#5982) 2024-07-01 13:52:45 +02:00
Joaquín Sánchez
50130bdb59
docs: split browser page (#5988)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-07-01 13:51:59 +02:00
Ari Perkkiö
169bc1fde4
fix(coverage): support overriding exclude (#5997) 2024-07-01 09:20:17 +02:00
Joaquín Sánchez
b9fb92cbb8
docs(config): include html reporter auto-enable in includeTaskLocation (#5985) 2024-06-27 16:03:50 +02:00
Joaquín Sánchez
7ec298eb37
feat(ui): add action to explorer item to show the test/suite line in the source code tab (#5948)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2024-06-27 14:47:31 +02:00
Vladimir
154cb22de6
feat(browser): add an option to take screenshots if the browser test fails (#5975) 2024-06-25 22:04:55 +02:00
Vladimir
486fd1169a
fix(types): mark pool options as not available in project config (#5934) 2024-06-20 14:15:38 +02:00
Vladimir
3a96a3d0e8
feat(browser): introduce expect.dom method and bundle jest-dom matchers with @vitest/browser (#5910) 2024-06-20 13:08:02 +02:00
Vladimir
4dbea4aed1
feat(browser): implement several userEvent methods, add fill and dragAndDrop events (#5882) 2024-06-18 13:29:49 +02:00
Vladimir
471cf97b0c
chore: always require curly braces (#5885)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-06-16 18:10:10 +02:00
Vladimir Sheremet
a663c7b5c8
docs: add info about the cache directory 2024-06-11 18:01:06 +02:00
Vladimir
49f34ec477
feat!: rename indexScripts to orchestratorScripts (#5842) 2024-06-04 14:35:28 +02:00
Vladimir
718512d80e
feat(browser): support changing the viewport (#5811) 2024-06-01 21:58:38 +02:00
Vladimir
e4fe6f51a0
feat: add an option to print console stack trace (#5720) 2024-05-31 15:29:54 +02:00
Vladimir
fc53f56344
feat: allow configuring expect options in the config (#5729) 2024-05-31 15:09:11 +02:00