deps(renovate): update rstest to v0.12.2 - #109
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/rstest
branch
2 times, most recently
from
September 17, 2026 19:48
1124382 to
1bd31cf
Compare
renovate
Bot
force-pushed
the
renovate/rstest
branch
from
September 24, 2026 20:00
1bd31cf to
1490899
Compare
renovate
Bot
force-pushed
the
renovate/rstest
branch
from
October 1, 2026 05:52
1490899 to
6625770
Compare
renovate
Bot
force-pushed
the
renovate/rstest
branch
from
October 2, 2026 09:29
6625770 to
9992da0
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.10.6→0.12.20.10.6→0.12.20.10.6→0.12.20.10.6→0.12.2Release Notes
web-infra-dev/rstest (@rstest/adapter-rslib)
v0.12.2Compare Source
What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes
Full Changelog: web-infra-dev/rstest@v0.12.1...v0.12.2
v0.12.1Compare Source
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
Full Changelog: web-infra-dev/rstest@v0.12.0...main
v0.12.0Compare Source
Read the Rstest 0.12 announcement for the full story.
Breaking Changes
If you only use the
rstestCLI with a config file, no code changes are needed.JavaScript API
The experimental JavaScript API is redesigned in 0.12, in one step before 1.0. See Rstest instance for the new API.
runRstestis removed. Create an instance withcreateRstestinstead.runCLImoves from@rstest/coreto@rstest/core/api.TestRunResulthas the same shape as the reporter'sonTestRunEndpayload, andstatus: 'pass' | 'fail' | 'error'replacesok.Custom reporters
See Reporter API for details.
onTestRunEndnow receivessummary, andunhandledErrorsis a requiredSerializedError[]instead of an optionalError[].filterRerunTestPathsis renamed torerunTestPaths.onExitis now also called after a run, list, or merge finishes normally, not only on an abnormal exit.Peer dependency range
The adapters,
@rstest/browser-react,@rstest/coverage-istanbul,@rstest/coverage-v8, and@rstest/playwrightnow require@rstest/core@^0.12.0. Upgrade all@rstest/*packages together.Test environment prebundle
testEnvironment.prebundlenow defaults to'auto'. If a test environment behaves differently after the upgrade, set it tofalse. See Environment prebundle.Highlights
Rstest 0.12 adds E2E and Module Federation testing support, makes large test suites faster with VM pools and test environment prebundle, and introduces a new JavaScript API.
E2E testing support
@rstest/playwright integrates Playwright into Rstest, so unit tests, component tests, and E2E tests share one config, one set of commands, and the same reporters. Use
definePlaywrightConfigto get the same defaults as Playwright and customize them when needed. See E2E testing.Module Federation testing support
With the @module-federation/rstest plugin, tests import remote modules the same way a consumer application does. Rstest loads the real exposed modules and resolves shared dependencies, so integration problems between consumer and producer show up in unit tests. It works in Node, jsdom, happy-dom, and browser mode. See Module Federation.
New
vmThreadsandvmForkspoolsThe new vmThreads and vmForks pools reuse workers across test files and create a fresh
vm.Contextfor each file. Each file still gets its own JavaScript realm and module graph, while worker startup, dependency resolution, and V8 compilation are shared. This helps most in suites with many jsdom / happy-dom test files.On a jsdom benchmark project of 2,400 files and 20,000 tests (15 workers, every process starting from an empty cache):
forksvmThreadsTo limit the memory of a single worker, set pool.memoryLimit. Rstest replaces a worker once it exceeds the threshold. See Choose a pool type before switching.
Faster jsdom / happy-dom loading
Test environment prebundle is now enabled by default. Previously, every worker resolved and executed each module file of jsdom or happy-dom one by one. Rstest now builds the environment into one ESM bundle that all workers share.
On a benchmark of 100 files and 1,000 tests:
A new JavaScript API
createRstest makes it easier to integrate Rstest into tools, IDEs, and other Node.js programs. It shares the same core execution capabilities as the
rstestcommand, so you can run tests, watch, list tests, and merge blob reports from code. See Rstest instance.What's Changed
Breaking Changes 🍭
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors
Full Changelog: web-infra-dev/rstest@v0.11.12...v0.12.0
v0.11.12Compare Source
What's Changed
New Features 🎉
Bug Fixes 🐞
eachrow spreading per table, not per row by @fi3ework in #1769Document 📖
Other Changes
Full Changelog: web-infra-dev/rstest@v0.11.11...v0.11.12
v0.11.11Compare Source
What's Changed
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes
New Contributors
Full Changelog: web-infra-dev/rstest@v0.11.10...v0.11.11
v0.11.10Compare Source
What's Changed
Bug Fixes 🐞
Document 📖
Other Changes
Full Changelog: web-infra-dev/rstest@v0.11.9...v0.11.10
v0.11.9Compare Source
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Other Changes
New Contributors
Full Changelog: web-infra-dev/rstest@v0.11.8...v0.11.9
v0.11.8Compare Source
What's Changed
Bug Fixes 🐞
Full Changelog: web-infra-dev/rstest@v0.11.7...v0.11.8
v0.11.7Compare Source
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
Full Changelog: web-infra-dev/rstest@v0.11.6...v0.11.7
v0.11.6Compare Source
Highlights
Faster DOM test environments with prebundling
Rstest can now prebundle supported jsdom and happy-dom test environments once and share the bundle across workers.
In a local 100-file / 1,000-test benchmark on Apple Silicon with Node.js 24 and four fork workers:
The feature is opt-in and falls back to native loading when prebundling is unsupported or fails. These benchmark results are directional and not a performance guarantee. See #1663.
What's Changed
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
Full Changelog: web-infra-dev/rstest@v0.11.5...v0.11.6
v0.11.5Compare Source
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Configuration
📅 Schedule: (in timezone America/Chicago)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.