638 Commits

Author SHA1 Message Date
Vladimir
93b67c24b1
fix: throw an error and a warning if .poll, .element, .rejects/.resolves, and locator.* weren't awaited (#6877) 2024-11-13 13:16:24 +01:00
patak
ecd0cbe7b4
docs: remove X links (#6868) 2024-11-06 17:05:40 +01:00
Vladimir
a2175c7d88
docs: clarify that workspace can be used to specify several configs (#6854) 2024-11-05 10:57:46 +01:00
Ari Perkkiö
5d4b38282f
docs(reporters): junit env variables removed in v2 (#6841) 2024-11-02 10:32:38 +02:00
Aidan Bickford
2a0e5aa9ae
docs: Update debugging.md grammar (#6794) 2024-10-26 09:55:26 +09:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
Tom MacWright
ec488981c5
docs: fix minor typo - colleting -> collecting (#6756) 2024-10-21 16:20:25 +02:00
Hiroshi Ogawa
19278f4cb9
fix(browser): cleanup keyboard state (#6731) 2024-10-21 14:16:04 +02:00
PaulienM
69f20b1669
docs: debugging in intellij (#6702) 2024-10-14 16:36:00 +02:00
Vladimir
502ecbfea8
docs: mention that the browser mode uses 63315 port (#6691) 2024-10-11 17:46:07 +02:00
Vladimir
9936c098d5
docs: update workspace.md (#6664) 2024-10-08 13:50:33 +02:00
Vladimir
0d94e609e4
docs: update examples links (#6631) 2024-10-03 14:25:49 +02:00
Vladimir
f4a682d7ac
docs: document how to mock class and its methods (#6615) 2024-10-02 16:28:15 +02:00
Vladimir
ed8b7c087a
fix(vitest): install dependencies with the same version when prompted (#6611) 2024-10-02 13:16:34 +02:00
Joaquín Sánchez
9edfa19ff1
chore: add pkg.pr.new (#6362)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-10-01 21:37:42 +02:00
Viktor Luft
0fa0dd5bc4
docs: link to default config for test timeout (#6603) 2024-10-01 16:49:31 +02:00
Vladimir
7e262357fa
docs: link the regular guide from the advanced page (#6602) 2024-10-01 15:49:44 +02:00
Ari Perkkiö
4ce99b39f5
docs: apply breaking changes of actions/upload-artifact@v4 to example (#6597) 2024-09-30 17:45:00 +02:00
Ari Perkkiö
1231189a71
docs: add Profiling Test Performance guide (#6555) 2024-09-30 17:44:45 +02:00
Mathias Schäfer
1800167e46
docs: Mocking: Config option is called unstubEnvs, method is called unstubAllEnvs (#6579) 2024-09-27 10:46:45 +09:00
Aakansha Doshi
445367bf5a
docs: add the pronounciation of vitest :) (#6497)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-09-25 10:38:53 +02:00
Camille Teruel
91442dfc98
fix(browser): update solidjs testing library lib (#6548) 2024-09-25 10:36:16 +02:00
Vladimir
36b5aceb9e
fix(workspace): resolve glob pattern once to avoid name collision (#6489) 2024-09-13 10:17:08 +02:00
Ari Perkkiö
7ab0f4a8ff
feat(browser): support --inspect-brk (#6434) 2024-09-08 19:37:16 +02:00
Ari Perkkiö
0499a31520
feat(browser): support --inspect (#6433) 2024-09-03 13:21:38 +02:00
Vladimir
cf148645c9
feat(browser): support userEvent.upload in playwright provider (#6442) 2024-09-02 18:33:22 +02:00
Mahmood Alhawaj
008f00b2b3
feat(cli): Extend existing list command to output only a list of file names (#6392)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-08-29 17:53:13 +02:00
Huyen Nguyen
26af0eb5b3
docs: typo in mocking guide (#6409) 2024-08-27 07:40:49 +02:00
Ari Perkkiö
da52d23fd1
fix(coverage): use project specific vitenode for uncovered files (#6044) 2024-08-20 09:43:32 +02:00
Vladimir
153ff01b10
fix(typecheck): run both runtime and typecheck tests if typecheck.include overlaps with include (#6256) 2024-08-13 12:42:39 +02:00
Vladimir
86017585ef
docs: replace reference types="vitest" with vitest/config (#6325) 2024-08-12 16:47:38 +02:00
Vladimir Sheremet
60a7007141
docs: use info instead of note 2024-08-09 17:07:13 +02:00
Vladimir Sheremet
84d9623497
docs: fix code-group 2024-08-09 17:04:54 +02:00
Vladimir
d7951125c2
docs: add vitest-browser packages to Browser Mode examples (#6314) 2024-08-09 16:26:46 +02:00
Huyen Nguyen
fc19095158
docs: correct link to Reporter interface (#6311) 2024-08-09 14:07:34 +02:00
Vladimir
3347f83e5a
feat(browser): introduce built-in locators (#6084) 2024-08-07 08:18:27 +02:00
Shota Kitahara
2984c9f3bd
docs: fix in source test examples link (#6259) 2024-08-05 17:01:46 +02:00
Vladimir
74ca11a4b8
feat(browser): make iframe scalable, improve documentation (#6257) 2024-08-05 12:51:23 +02:00
Haozheng Li
c997937bf3
fix(vitest): update json reporter output (#6064) 2024-08-01 10:56:18 +02:00
Vladimir
af2b813c75
feat(browser): move page.config to server.config, add more docs (#6252) 2024-07-31 20:06:12 +02:00
Justin Zhu
0a17989e6d
docs(browser): set browser.name: 'chromium' when using playwright (#6220) 2024-07-25 15:19:20 +02:00
Kyle Mathews
1f9d82e8b5
docs: typo in common-errors.md (#6208) 2024-07-24 08:04:24 +03:00
Vladimir
a48be6ffc4
fix(vitest): correctly resolve mocked node:* imports in __mocks__ folder (#6204) 2024-07-23 21:12:06 +02:00
Vladimir
3aab8a1ed6
refactor: deprecate all config types from the main Vitest entrypoint, introduce SerializedConfig type (#6205) 2024-07-23 19:28:59 +02:00
Vladimir
883f348274
fix(browser): userEvent.setup initiates a separate state for userEvent instance (#6088) 2024-07-23 15:56:21 +02:00
Vladimir
12bb567e52
fix(web-worker): expose globals on self (#6170) 2024-07-23 15:52:36 +02:00
Vladimir
57d23cec43
docs: fix inconsistencies, remove low informative twoslash examples (#6200) 2024-07-23 14:52:21 +02:00
Vladimir
8cd8272bf4
fix(vitest): improve defineProject and defineWorkspace types (#6198) 2024-07-23 10:07:17 +02:00
Alexandru Bucur
17a81f099b
docs: add information to the workspace docs on how to use extends (#6169)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-07-23 09:43:55 +02:00
Ty
5d6d801337
docs: Typos fixed and clarity improved. (#6178) 2024-07-22 13:00:58 +02:00