Releases: web-infra-dev/rstest
Releases · web-infra-dev/rstest
v0.6.6
What's Changed
New Features 🎉
- feat(vscode): communicate with worker using ipc instead of websocket by @claneo in #691
- feat: support get runtime config via
rs.getConfigAPI by @9aoy in #701 - feat: support displaying slow-running tests by @9aoy in #706
Bug Fixes 🐞
- fix(vscode): correct icon path by @fi3ework in #703
- fix: should load json file correctly by @9aoy in #702
- fix: suppress ESModulesLinkingError for exports that might be implemented in mock by @9aoy in #704
- fix:
describe.eachtype error by @9aoy in #707
Document 📖
- docs: use rspress new UI by @9aoy in #697
- docs: update doc ui by @9aoy in #699
- docs!: rename filename from camel to kebab by @9aoy in #705
Other Changes
Full Changelog: v0.6.5...v0.6.6
v0.6.5
What's Changed
New Features 🎉
Bug Fixes 🐞
- fix: should get project's tsconfigPath correctly by @9aoy in #687
- fix(vscode-extension): import rstest error on windows by @9aoy in #693
Document 📖
Other Changes
- chore: no need to run files when run list filesOnly by @9aoy in #689
- chore: only render status in tty context by @9aoy in #692
- chore(vscode-extension): update default test file glob pattern by @9aoy in #694
New Contributors
Full Changelog: v0.6.4...v0.6.5
v0.6.4
v0.6.3
v0.6.2
What's Changed
New Features 🎉
Bug Fixes 🐞
- fix: inaccurate build time in watch mode by @9aoy in #659
- fix: should catch
onTestCaseResultrpc timeout error by @9aoy in #661 - fix: should catch
process.killerror correctly by @9aoy in #660 - fix: support npm package names in setupFiles by @9aoy in #671
Document 📖
Other Changes
- ci: use unified Rstack ecosystem CI by @fi3ework in #663
- chore: enable
advancedEsmby @9aoy in #664 - ci: clean ecosystem by @fi3ework in #665
- chore: rename rsbuildConfig option to config by @chenjiahan in #667
- ci: publish to Open VSX registry by @fi3ework in #672
Full Changelog: v0.6.1...v0.6.2
v0.6.1
What's Changed
Performance 🚀
Bug Fixes 🐞
- fix: vscode release error by @9aoy in #647
- fix: name conflicts when the project is a special configuration by @9aoy in #651
- fix: type error when each template type is primitive by @9aoy in #653
- fix(esm-output):
__webpack_require__.Cis not a function by @9aoy in #656 - fix: should bind setTimetout to globalThis by @fi3ework in #655
Document 📖
Other Changes
- chore(deps): update all non-major dependencies by @renovate[bot] in #654
- release: 0.6.1 by @9aoy in #657
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
Breaking Changes
Drop support of async mock factory
Drop support of async mock factory and introduce a new synchronous replacement for rs.importActual with import attributes.
import * as foo from 'foo' with { "rstest": "importActual" }
rs.mock('foo', ()=> {
return { ...foo, extra: 1 }
})Learn more about #618 and documentation about mock modules.
New Features 🎉
- feat: drop support of async mock factory by @fi3ework in #618
- feat: add
RSTEST_WORKER_IDenvironment variable by @9aoy in #641
Bug Fixes 🐞
- fix(mock): prevent mocked module overwrite by new loaded chunk modules by @fi3ework in #637
- fix: normalize
<rootDir>in windows by @9aoy in #645 - fix: spyOn can be worked with imported properties by @9aoy in #644
Document 📖
- docs: fix GitHub Actions spelling in reporter and documentation by @chenjiahan in #643
Other Changes
- test: should load external module singleton by @9aoy in #635
- chore(deps): update all non-major dependencies by @renovate[bot] in #636
- chore(deps): update actions/setup-node action to v6 by @renovate[bot] in #640
- chore(deps): update all non-major dependencies by @renovate[bot] in #639
- chore: use tinypool workerId as RSTEST_WORKER_ID by @9aoy in #642
- release: 0.6.0 by @9aoy in #646
Full Changelog: v0.5.4...v0.6.0
v0.5.4
What's Changed
New Features 🎉
- feat: support
hideSkippedTestsoption by @9aoy in #631 - feat: support
resolveSnapshotPathoption by @9aoy in #632
Bug Fixes 🐞
Other Changes
- chore: add hint message for react not defined error by @9aoy in #628
- chore: update log display by @9aoy in #630
Full Changelog: v0.5.3...v0.5.4
v0.5.3
v0.5.2
Highlights 💡
VS Code extension
The Rstest VS Code extension can be used to discovers, displays, and runs tests in your workspace. It builds a rich Test Explorer tree from your test files and keeps it up to date as files change.
Install the extension from the marketplace rstest.
What's Changed
New Features 🎉
Bug Fixes 🐞
- fix: should handle error string correctly by @9aoy in #614
- fix(docs): use
rp-not-docfor rsbuild doc badge by @Timeless0911 in #616 - fix(vscode): should wait for initial scan by @fi3ework in #615
- fix: out-of-memory in large project by @9aoy in #621
Document 📖
Other Changes
- chore(deps): update dependency happy-dom to v20 [security] by @renovate[bot] in #612
- chore(vscode): add icon, clean dist artifacts by @fi3ework in #617
- chore(deps): update dependency happy-dom to v20.0.2 [security] by @renovate[bot] in #619
- chore(workflow): disable fail-fast option in e2e test by @9aoy in #622
Full Changelog: v0.5.1...v0.5.2