410 Commits

Author SHA1 Message Date
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
xuxucode
7e87e86fe3
Update mocking.md (#6180)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-07-22 12:59:36 +02:00
Ari Perkkiö
5da45db152
fix(coverage): ignore *.cts files (#6189) 2024-07-22 11:00:38 +02:00
Vladimir
807a2cbc48
fix: resolve assets imported with require (#6159) 2024-07-18 12:44:00 +02:00
Lenni
0881023e68
docs: list default browser provider consistently (#6154) 2024-07-17 11:00:00 +02:00
Vladimir Sheremet
32c0d99b3c
docs: remove defineCommand reference
Closes #6148
2024-07-16 12:47:26 +02:00
Vladimir
a7636e39e6
docs: add currentTestName difference (#6145) 2024-07-16 09:53:07 +02:00
Mordechai Dror
407f12f4a5
docs: improve extending matchers docs (#6121) 2024-07-15 10:49:57 +02:00
IAfanasov
bd83f6cadc
docs: improve the npx description clarity (#6102) 2024-07-12 13:07:13 +02:00
Vladimir
7012f8c12a
docs: add env documentation (#6063) 2024-07-09 11:54:49 +02:00
Joaquín Sánchez
8c035988be
docs: update VP theme configuration (#6051) 2024-07-08 16:49:13 +02:00
Vladimir Sheremet
51c3242d49
docs: mention SpyInstance 2024-07-08 11:39:42 +02:00
Joaquín Sánchez
354fb9d994
docs: fix browser guide dead link in cli (#6037) 2024-07-05 10:42:56 +03:00
Vladimir
583dd8a986
feat(vitest)!: add "vitest list" API to print collected tests without running them (#6013) 2024-07-03 17:51:33 +02:00
Vladimir
a820b15665
docs: add mock fs section (#6021) 2024-07-02 13:30:25 +02:00
Vladimir
b21f3a9858
docs: add more migration steps (#6008) 2024-07-01 16:19:38 +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
Vladimir
be32317638
feat: add an option to return base64 from page.screenshot (#5993) 2024-06-30 19:12:32 +02:00
Joaquín Sánchez
200a4349a2
feat(browser): add tripleClick to interactive api (#5987) 2024-06-28 10:38:07 +02:00
Vladimir
14a217d53b
fix(browser): make userEvent more stable when running in parallel (#5974) 2024-06-25 17:00:18 +02:00
Vladimir
49e973cb92
feat(browser): add "init" command for browser tests (#5960) 2024-06-25 15:22:51 +02:00
Hiroshi Ogawa
a0c1d371ed
fix!(spy): simplify mock function generic types and align with jest (#4784) 2024-06-23 18:09:21 +02:00
Vladimir
bec434cb68
feat(browser): expose CDP in the browser (#5938) 2024-06-20 17:48:00 +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
51c04e2f44
docs: add paragraph about --standalone (#5932) 2024-06-20 11:00:25 +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
66e648ff88
fix(vitest): expose provide to the public API (#5897) 2024-06-16 16:02:22 +02:00