1369 Commits

Author SHA1 Message Date
Vladimir
d4c2b280be
fix(spy): properly inherit implementation's length (#8778) 2025-10-23 17:55:01 +02:00
Michael Dong
a7c4f6f566
docs: fix tomatchscreenshot link in vitest 4 blog post (#8772)
Co-authored-by: mdong1909 <mdong1909@users.noreply.github.com>
2025-10-23 12:13:52 +02:00
Vladimir Sheremet
1a290f8091
docs: add v3 link 2025-10-22 19:04:09 +02:00
Vladimir
a821833117
docs: vitest 4 blog post (#8724) 2025-10-22 16:03:56 +02:00
Vladimir
3dfe09526c
chore: remove vite-node from the monorepo (#8761) 2025-10-22 14:54:36 +02:00
Vladimir Sheremet
c4485c6a02
docs: clarify the timeout number is supported 2025-10-21 19:34:59 +02:00
Vladimir Sheremet
ee0b6b0a56
docs: rename to vmMemoryLimit 2025-10-21 19:32:19 +02:00
Ari Perkkiö
4822d047a7
feat!: rewrite pools without tinypool (#8705)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-10-21 19:12:54 +02:00
Alexander Karan
9dc1867373
Update comparisons.md with Mocha Comparisons (#8740) 2025-10-21 18:56:55 +02:00
Ahiwe Onyebuchi Valentine
ff08294e88
docs: correct typos in migration guide (#8750) 2025-10-21 18:55:18 +02:00
Ahiwe Onyebuchi Valentine
2f5d5d3298
docs: typo in reporters guide (#8738) 2025-10-20 08:34:27 +03:00
Vladimir
2f462469e8
docs: add mintlify to sponsors (#8725) 2025-10-16 21:38:53 +02:00
Nozomu Ikuta
4f8e77c8ac
docs: add warning about local expect when relying on test state (#8716) 2025-10-16 15:07:12 +02:00
Vladimir
8cb219c41d
docs(browser): remove the "experimental" tag (#8707) 2025-10-14 10:24:20 +02:00
Chris
c0b250e5c8
feat: add schema validation matchers (#8527) 2025-10-14 10:24:00 +02:00
Romain Hamel
981b14db16
docs: update TestSuite meta example (#8708) 2025-10-13 19:03:23 +02:00
Vladimir
4a66df6255
feat: add displayAnnotations option to github-options (#8706) 2025-10-13 16:48:31 +02:00
Raul Macarie
e63b17efcf
feat(browser): support custom screenshot comparison algorithms (#8687) 2025-10-13 14:12:58 +02:00
Vladimir
fe5895d2bb
feat: support expect.assert for type narrowing (#8695) 2025-10-12 13:06:22 +02:00
Vladimir
699bf80415
docs: fix visualn regression example (#8681)
### Description

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

<!-- 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-10-08 17:54:33 +02:00
Vladimir
948016d8bd
docs: fix Vitest API doc (#8680)
### Description

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

<!-- 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-10-08 17:53:34 +02:00
Raul Macarie
4240f8ce72
docs: update image snapshot documentation to visual snapshots (#8659) 2025-10-04 12:01:42 +02:00
Yusuf Aran
6b21cfe557
feat: add hooks with type-safe extra context to TestAPI (#8623) 2025-10-03 10:36:03 +02:00
Vladimir
0dc93ea988
feat: introduce separate packages for browser mode providers (#8629) 2025-10-01 15:58:13 +02:00
Public Profile
88e62c7586
docs: remove outdated configuration (#8642) 2025-09-29 23:01:50 +02:00
Raul Macarie
9f9d2565ec
docs: update visual regression guide for Azure App Testing migration (#8614) 2025-09-24 14:07:25 +02:00
Simon Schick
4f4c5e72df
docs: name of unhandledRejection event (#8611) 2025-09-23 20:42:35 +02:00
Vladimir
9a0bf2254a
fix: update engines field to drop Node 18 support (#8608) 2025-09-22 15:23:55 +02:00
Vladimir
1aac59cd20
feat(browser): support playwright tracing (#8584) 2025-09-22 14:57:41 +02:00
renovate[bot]
d3431372a5
chore(deps): update all non-major dependencies (#8606) 2025-09-22 08:43:50 +02:00
Vladimir
4d41928c6d
feat!: remove deprecated order from test() API (#8594) 2025-09-19 12:08:11 +02:00
Vladimir
e3138bd1d0
docs: remove mentions of deprecated context (#8600) 2025-09-19 11:54:20 +02:00
natsuki ueda
07a8a6e134
docs: fix reference link (#8596) 2025-09-19 11:42:11 +02:00
Vladimir
438c44e7fb
feat(api): add getSeed method (#8592) 2025-09-18 19:13:59 +02:00
renovate[bot]
bd5a6ae4be
chore(deps): update all non-major dependencies (#8575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-18 16:24:02 +02:00
Rinil Kunhiraman
482ee64815
docs: add comprehensive Component Testing guide (#8409)
Co-authored-by: Rinil Kunhiraman <rinilkunhiraman@users.noreply.github.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-09-18 15:55:22 +02:00
Ari Perkkiö
a54ff97659
docs: incorrect example of use (#8571) 2025-09-13 14:51:14 +02:00
William Killerud
9e722834ae
feat!: include shadow root contents in pretty-format output (#8545) 2025-09-10 07:37:42 +02:00
Vladimir
25fd32bf0a
fix!: verbose reporter prints tests in a list, introduce tree reporter (#8500)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-09-09 06:58:27 +02:00
Vladimir
304bc20f0f
feat(projects)!: allow only files that have "vitest.config" or "vite.config" in the name (#8542) 2025-09-08 15:43:09 +02:00
renovate[bot]
048f7a1cac
fix(deps): update all non-major dependencies (#8550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-08 15:42:42 +02:00
Adrian001
3be86980d5
docs: fix typo in config/index.md (#8553) 2025-09-08 17:34:16 +09:00
duyifei
928e8fab2a
docs: add extra description for the usage of process.env.VITEST (#8360)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-09-06 10:18:31 +08:00
Vladimir
2b9b34311f
docs: update mocking guide (#8514) 2025-08-31 12:47:43 +02:00
Vladimir
bbb3514f52
docs(browser): remove mentions of old browser/providers/* (#8515) 2025-08-31 12:45:39 +02:00
Vladimir
2308cbf130
feat(browser): add length property to locators, toHaveLength now accepts locators (#8512) 2025-08-31 11:38:44 +02:00
Vladimir
3be0986aa5
feat(api): add relativeModuleId to TestModule (#8505) 2025-08-29 14:33:48 +02:00
renovate[bot]
704eba24b4
fix(deps): update all non-major dependencies (#8382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-08-28 13:23:05 +02:00
Vladimir
57b2cca2e0
feat(browser): support iframe locator with playwright provider (#8016) 2025-08-28 10:38:46 +02:00
Nick Battjes
99e016bec8
feat(coverage): autoUpdate to support percentage formatting (#8456)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-08-27 12:43:33 +02:00