1757 Commits

Author SHA1 Message Date
Ari Perkkiö
372e86fdef
fix(coverage): istanbul untested files source maps are off (#9208) 2025-12-08 16:31:42 +02:00
Ari Perkkiö
5d26b87b08
fix(experimental): export setupEnvironment for custom pools (#9187) 2025-12-08 11:31:17 +01:00
Hiroshi Ogawa
01a9a58d90
fix(browser): fix import.meta.env define (#9205) 2025-12-08 09:54:31 +01:00
Hiroshi Ogawa
1a259c3403
fix: reject calling suite function inside test (#9198) 2025-12-08 09:48:41 +01:00
f17eb423d4
refactor: avoid using isFileServingAllowed from Vite (#9160) 2025-12-05 12:30:04 +01:00
Ari Perkkiö
78cfbf99ae
fix: avoid crashing on process.versions stub (#9174) 2025-12-05 11:58:43 +01:00
Vladimir
122ff321cc
feat(reporters): print import duration breakdown (#9105) 2025-12-02 16:48:29 +01:00
Raul Macarie
0d2e7e3e26
fix(browser): run toMatchScreenshot only once when used with expect.element (#9132) 2025-12-02 12:57:25 +01:00
Ari Perkkiö
d57d8bf0a6
fix(pool): terminate workers on CTRL+c forceful exits (#9140) 2025-12-02 12:56:30 +01:00
Vladimir
bb65e15c7f
fix(reporters): show project in github reporter (#9138)
### Description

<!-- Please insert your description here and provide especially info about the "what" this PR is solving -->

Resolves #issue-number

<!-- You can also add additional context here -->

### Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
- [ ] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
- [ ] Ideally, include a test that fails without this PR but passes with it.
- [ ] Please, don't make changes to `pnpm-lock.yaml` unless you introduce a new test example.
- [ ] Please check [Allow edits by maintainers](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

### Tests
- [ ] Run the tests with `pnpm test:ci`.

### Documentation
- [ ] If you introduce new functionality, document it. You can run documentation with `pnpm run docs` command.

### Changesets
- [ ] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with `feat:`, `fix:`, `perf:`, `docs:`, or `chore:`.
2025-12-01 15:26:05 +01:00
renovate[bot]
52b242b870
chore(deps): update all non-major dependencies (#9133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-01 13:02:24 +01:00
Hiroshi Ogawa
4c75492cca
fix: fix external behavior with deps.optimizer (#9125) 2025-11-28 17:00:09 +01:00
Raul Macarie
8cb3566d21
test: fix duration regex to match decimal values (#9119) 2025-11-28 10:12:12 +01:00
Yuichiro Tachibana (Tsuchiya)
deee83e54b
fix(web-worker): MessagePort objects passed to Worker.postMessage work when clone === "native" (#9118) 2025-11-28 10:10:31 +01:00
Hiroshi Ogawa
fd8bd6dee5
fix: use optimizeDeps.rolldownOptions to fix depreated warning + fix ssr.external: true (#9121) 2025-11-28 10:09:02 +01:00
renovate[bot]
fd7860222a
fix(deps): update dependency tinyexec to v1 (#9122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-28 18:05:28 +09:00
Vladimir
1a24607b4b
fix(spy): do not mock overriden method, if parent was automocked (#9116) 2025-11-27 16:17:42 +01:00
Hiroshi Ogawa
ddf2d89893
refactor: refine shouldExternalize value + test: improve vite-ssr-resolve tests (#9112) 2025-11-27 13:53:07 +01:00
Ari Perkkiö
e4ca917f18
fix(coverage): istanbul provider to not break source maps (#9040) 2025-11-26 09:15:47 +01:00
Raul Macarie
821aa20021
feat(runner): Add full names to tasks (#9087) 2025-11-25 14:50:06 +01:00
Vladimir
2cc34e0d4a
feat(browser): expose utils.configurePrettyDOM (#9103) 2025-11-25 14:49:47 +01:00
renovate[bot]
22e381e160
chore(deps): update all non-major dependencies (#9082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-11-25 14:00:13 +01:00
Vladimir
1256b5ca34
fix: rename collect to import, remove prepare (#9091) 2025-11-25 11:00:59 +01:00
Fai
6f22c675f4
fix(coverage): invalidate circular modules correctly on rerun with coverage (#9096) 2025-11-25 10:58:36 +01:00
Hiroshi Ogawa
ed8a2ebbdd
fix(expect): allow function as standard schema (#9099) 2025-11-25 10:54:21 +01:00
Ari Perkkiö
379185b408
fix(pool): init VITEST_POOL_ID + VITEST_WORKER_ID before environment setup (#9085) 2025-11-25 10:54:00 +01:00
Vladimir
2c468ee95e
fix(jsdom): reuse abort signals if possible (#9090) 2025-11-24 16:44:37 +01:00
Ari Perkkiö
f5b72374bd
fix(browser): unsubscribe onCancel on rpc destroy (#9088) 2025-11-24 13:07:32 +01:00
Kevin Deng
acc5152b96
perf: replace debug with obug (#9057)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-11-24 10:13:36 +02:00
Yuichiro Tachibana (Tsuchiya)
9d1763d11c
fix(web-worker): postMessage to send ports to workers (#9078)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-11-24 09:48:41 +02:00
Vladimir
9a8bc78c51
fix: inherit fsModuleCachePath by default (#9063) 2025-11-20 12:30:03 +01:00
Vladimir
1b14737124
perf(experimental): add file system cache (#9026) 2025-11-20 11:29:19 +01:00
Vladimir
8508296e9a
test(browser): fix crash on windows (#9060) 2025-11-19 17:38:51 +01:00
Raul Macarie
772923645f
feat(api): add extensible test artifact API (#8987) 2025-11-18 10:56:21 +01:00
Raul Macarie
afd1f3e527
feat(expect): provide task in MatchState (#9022) 2025-11-18 10:53:39 +01:00
Vladimir
d6d3359ddb
feat(experimental): support OpenTelemetry traces (#8994) 2025-11-17 16:23:52 +01:00
renovate[bot]
80f2bb6d89
chore(deps): update all non-major dependencies (#9037)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 09:59:54 +01:00
Ari Perkkiö
eb98dd8fd2
fix(core): prevent starting new run when cancelling (#8991) 2025-11-17 09:49:21 +01:00
Ari Perkkiö
7c9edffb05
refactor(forks): simplify IPC channel serialization (#8999) 2025-11-14 16:00:18 +02:00
Tim Weißenfels
a415d0375a
feat(expect): add Set support to toBeOneOf (#8906)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-11-12 18:38:19 +01:00
Vladimir
506a9fd0fb
fix(jsdom): cloned request is an instance of Request (#8985) 2025-11-09 00:48:10 +01:00
btea
b6de72d536
chore: apply catalog to dep for already in pnpm-workspace.yaml (#8978) 2025-11-08 13:03:10 +02:00
Evyatar Daud
9638db0f3e
fix: incorrect error message for non-awaited expect.element() (#8954) 2025-11-07 12:40:17 +01:00
renovate[bot]
46b3529a81
chore(deps): update dependency jsdom to v27 (#8700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-11-06 15:05:35 +01:00
renovate[bot]
da8b93aa53
fix(deps): update all non-major dependencies (#8636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-11-06 14:39:50 +01:00
Vladimir
75e7fcc51f
fix(spy): copy static properties if spy is initialised with vi.fn(), fix types for vi.spyOn(obj, class) (#8956) 2025-11-06 13:38:16 +01:00
Livan
997ca5a827
fix(runner): properly encode Uint8Array body in annotations (#8951) 2025-11-06 12:50:47 +01:00
Julien Wajsberg
069e6db9bd
fix(webdriverio): When no argument is passed to the .click interaction command, the webdriver command should also have no argument (#8937) 2025-11-06 12:50:11 +01:00
Vladimir
a1b7361ab1
fix(jsdom): support URL.createObjectURL, FormData.set(prop, blob) (#8935) 2025-11-04 16:14:37 +01:00
Vladimir
312a612f81
chore: cleanup mocking tests (#8932) 2025-11-04 13:37:15 +01:00