Skip to content

fix: upgrade rstest examples and remove module type warnings#417

Merged
9aoy merged 1 commit intomainfrom
9aoy/fix-rstest-module-warning
Apr 7, 2026
Merged

fix: upgrade rstest examples and remove module type warnings#417
9aoy merged 1 commit intomainfrom
9aoy/fix-rstest-module-warning

Conversation

@9aoy
Copy link
Copy Markdown
Contributor

@9aoy 9aoy commented Apr 7, 2026

Summary

  • upgrade the Rstest example packages to @rstest/core@0.9.6 and align related browser packages to 0.9.6
  • add "type": "module" to the example packages whose rstest.config.ts files were being reparsed as ESM by Node
  • refresh pnpm-lock.yaml for the version updates

Why

CI=true pnpm test:rstest was emitting MODULE_TYPELESS_PACKAGE_JSON warnings in examples that load rstest.config.ts as ESM without declaring a package module type. That warning adds noise in CI and indicates an avoidable reparsing path in Node.

Impact

The Rstest examples now run on the newer 0.9.6 packages, and the affected examples declare ESM explicitly so their test config files load without the Node warning.

Validation

  • CI=true pnpm test:rstest

@9aoy 9aoy marked this pull request as ready for review April 7, 2026 11:23
@9aoy 9aoy merged commit 948cbab into main Apr 7, 2026
4 checks passed
@9aoy 9aoy deleted the 9aoy/fix-rstest-module-warning branch April 7, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant