3872 Commits

Author SHA1 Message Date
Vladimir Sheremet
febca74f7d
docs: add Promise types 2024-07-31 13:37:59 +02:00
Vladimir Sheremet
f3dfd5e078
chore: ignore acorn update 2024-07-31 13:14:37 +02:00
renovate[bot]
2e8d38b7f6
chore(deps): update tj-actions/changed-files action to v44 (#6236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 13:12:39 +02:00
Vladimir Sheremet
99452a712c
chore: release v2.0.5 v2.0.5 2024-07-31 12:37:36 +02:00
Vladimir
9b9bdf79f2
chore: remove unnecessary await (#6249) 2024-07-31 12:16:16 +02:00
Vladimir
40dfad811d
docs: add reported tasks docs (#6245) 2024-07-30 14:10:58 +02:00
Vladimir
13d85bd19a
feat: introduce experimental reported tasks (#6149) 2024-07-30 13:21:40 +02:00
Zack Voase
e7acd0cf89
fix(browser): Improve unique CSS selector generation (#6243)
Co-authored-by: Zack Voase <zvoase@netflix.com>
2024-07-30 09:08:41 +02:00
Ari Perkkiö
073a50c974
fix: testNamePattern adds leading space (#6186) 2024-07-26 09:08:40 +02:00
Mike Neverov
d4c005bce5
fix(browser): passing options to hover/unhover (#6175) 2024-07-26 09:07:46 +02:00
Vladimir
8c96cb49fd
ci: combine test-browser tests, don't run tests when only docs are changed (#6221) 2024-07-25 16:32:34 +02:00
Justin Zhu
0a17989e6d
docs(browser): set browser.name: 'chromium' when using playwright (#6220) 2024-07-25 15:19:20 +02:00
Vladimir Sheremet
bea27d0733
chore: cleanup 2024-07-25 12:58:04 +02:00
Vladimir
804ff2fd41
fix(browser): correctly import optimized module in vi.importActual (#6219) 2024-07-25 12:57:01 +02:00
Vladimir Sheremet
9069bdcd69
Revert "fix(browser): don't inject empty process global (#6213)"
This reverts commit 1affb99551a40b16df47ec78915c05cdc6d74e94.
2024-07-24 17:42:34 +02:00
Vladimir
b76a927912
refactor(vitest): move public exports to public folder (#6218) 2024-07-24 16:48:56 +02:00
Vladimir
56dbfa6689
refactor: make a distinction between node and runtime types (#6214) 2024-07-24 16:19:05 +02:00
Vladimir
1affb99551
fix(browser): don't inject empty process global (#6213) 2024-07-24 11:00:55 +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
Vladimir Sheremet
93882f388e
fix(vitest): remove nuxt from auto inline deps 2024-07-23 09:33:33 +02:00
renovate[bot]
c3ef56dc5b
chore(deps): update all non-major dependencies (#6188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 09:22:02 +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
Vladimir
e6fbc620e8
fix(browser): don't bundle afterEach cleanup hooks in node entrypoint (#6192) 2024-07-22 12:47:30 +02:00
Vladimir
291766d75c
fix: show a difference between string characters if both values are strings (#6191) 2024-07-22 12:40:06 +02:00
Vladimir Sheremet
400481f64d
chore: release v2.0.4 v2.0.4 2024-07-22 11:11:19 +02:00
Vladimir
0d0b46b151
fix(browser): set global filepath (#6190) 2024-07-22 11:10:48 +02:00
Ari Perkkiö
5da45db152
fix(coverage): ignore *.cts files (#6189) 2024-07-22 11:00:38 +02:00
Ari Perkkiö
9057614855
fix(coverage): consistent type-only file handling (#6183) 2024-07-22 10:59:50 +02:00
Hiroshi Ogawa
7a75bd4c9a
fix(spy): fix mockImplementation for function overload and unions (#6181) 2024-07-22 10:58:34 +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
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
a852b16152
refactor: enable isolatedDeclarations in snapshot and spy packages (#6146) 2024-07-16 10:20:15 +02:00
Vladimir
a7636e39e6
docs: add currentTestName difference (#6145) 2024-07-16 09:53:07 +02:00
Vladimir
f1ef2f6362
refactor(runner): add docs to @vitest/runner, remove barrel files (#6126) 2024-07-15 17:43:05 +02:00
renovate[bot]
f55dc0081d
chore(deps): update all non-major dependencies (#6046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-07-15 17:10:15 +02:00
Vladimir
717bb2ea51
test: make watcher tests more stable on Mac OS (#6136) 2024-07-15 15:19:02 +02:00
Vladimir
ccfcd488d3
fix(browser): don't panic if @vitest/browser is installed outside of project root (#6135) 2024-07-15 13:48:57 +02:00
Joaquín Sánchez
2d62051f13
feat(browser): allow preview and open in the editor screenshot error from ui (#6113) 2024-07-15 13:06:45 +02:00
Benjamin
382694158a
fix: one-line environment options (#5105) 2024-07-15 12:21:44 +02:00