3576 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
Raul Macarie
01c56454d2
fix(browser): import recordArtifact from the vitest package (#9186) 2025-12-08 09:49:18 +01:00
Hiroshi Ogawa
1a259c3403
fix: reject calling suite function inside test (#9198) 2025-12-08 09:48:41 +01:00
Ari Perkkiö
b7717c1b64
chore: type error on birpc@3.0.0 types (#9206) 2025-12-08 10:07:15 +02:00
Marco Pasqualetti
220c0d58d7
docs: improve onTestFailed and onTestFinished jsdoc (#9175) 2025-12-08 10:15:43 +09: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
Hiroshi Ogawa
da0ade2497
fix: fix browser mode default testTimeout back to 15 seconds (#9167) 2025-12-04 14:52:39 +09:00
Vladimir Sheremet
eb1abf0857
chore: release v4.0.15 2025-12-02 16:50:27 +01:00
Vladimir
a68f74e5ee
feat(cache): add opt-out on a plugin level, fix internal root cache (#9154) 2025-12-02 16:48:47 +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
Raul Macarie
f97ac398c8
refactor(runner): eagerly set file property during task creation (#9127) 2025-11-28 17:22:36 +01:00
Hiroshi Ogawa
4c75492cca
fix: fix external behavior with deps.optimizer (#9125) 2025-11-28 17:00:09 +01:00
Raul Macarie
a5d98fd0d8
refactor(vitest): get current test name from task property (#9120) 2025-11-28 10:12:29 +01:00
Raul Macarie
e43458e026
fix(expect): preserve currentTestName in extended matchers (#9106) 2025-11-28 10:11:18 +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
Vladimir
120b3dac1e
fix(docs): remove --browser.provider from docs (#9115) 2025-11-27 16:15:45 +01:00
Vladimir
075ab35207
fix: keep built-in id as is in bun and deno (#9117) 2025-11-27 14:06:50 +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
Vladimir Sheremet
9ca74cfb20
chore: release v4.0.14 2025-11-25 14:52:32 +01:00
Mikhail
443ecc7f23
chore: simplified array.from map (#9102) 2025-11-25 14:50:20 +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
64502a2c4e
fix(browser): revert the viewport scaling in non-ui mode #9018 (#9072) 2025-11-25 11:02:29 +01:00
Raul Macarie
c37c2eb0b5
feat(ui): add tabbed failure view for toMatchScreenshot with comparison slider (#8813) 2025-11-25 11:01:55 +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
Vladimir
3326cc9f43
fix: collect the duration of external imports (#9097) 2025-11-25 10:58:16 +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
Vladimir
e1b2e086a4
fix: externalize before caching (#9077) 2025-11-24 16:29:28 +01:00
Mikhail
229b5b3b35
chore: move check allow out of forEach (#9086) 2025-11-24 13:14:44 +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 Sheremet
73b54ce285
chore: release v4.0.13 2025-11-21 17:30:23 +01:00
Vladimir
b27e002e57
perf: avoid fetchModule roundtrip if the module is cached (#9075) 2025-11-21 17:29:44 +01:00
Vladimir
6b9a1b5b1c
perf(experimental): if fsCacheModule is enabled, read from the memory when possible (#9076) 2025-11-21 17:29:28 +01:00