Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: defa420701
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| If your project is using CommonJS, Rstest still works, but it is recommended to migrate to ESM for better performance and future compatibility. | ||
|
|
||
| ### ESM vs CJS Mocking |
There was a problem hiding this comment.
Use sentence case in the new migration subheading
The new heading ### ESM vs CJS Mocking uses title case, but website/AGENTS.md requires sentence-style capitalization for all headings. This is not just stylistic: root linting runs heading-case via check-spell (package.json scripts), so this heading (and its mirrored one in docs/zh/...) can cause the docs lint workflow to fail until it is changed to sentence case (for example, ESM vs CJS mocking).
Useful? React with 👍 / 👎.
Deploying rstest with
|
| Latest commit: |
0763577
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://bd0eb288.rstest.pages.dev |
| Branch Preview URL: | https://jest-esm.rstest.pages.dev |
Summary
add esm tip when migrating from jest.
Related Links
Checklist