Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR configures rstest to output and execute test code in ES module format by default, updating the @rstest/core dependency from version 0.7.0 to 0.7.1.
- Adds
output.module: trueconfiguration to rstest.config.ts - Updates
@rstest/coredependency to version 0.7.1 across all package.json files - Fixes compatibility issues in test code and mocks for ES module format
Reviewed changes
Copilot reviewed 22 out of 23 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| rstest.config.ts | Adds ES module output configuration |
| tests/integration/shims/index.test.ts | Fixes undefined exports reference by initializing it as empty object |
| packages/core/mocks/fs/promises.js | Updates memfs import to use default import for ES module compatibility |
| package.json | Updates @rstest/core to 0.7.1 in root package.json |
| pnpm-lock.yaml | Reflects dependency version updates |
| packages/create-rslib/template-*/package.json | Updates @rstest/core to 0.7.1 in all project templates |
| packages/create-rslib/fragments/tools/rstest-*/package.json | Updates @rstest/core to 0.7.1 in all tool fragments |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
✅ Deploy Preview for rslib ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Timeless0911
approved these changes
Dec 9, 2025
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.
Summary
Outputs and executes test code in ES module format by default.
https://rstest.rs/config/build/output#outputmodule
Related Links
Checklist