Conversation
✅ Deploy Preview for rstest-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new "CLI Shortcuts" documentation section to both English and Chinese versions of the CLI guide, describing keyboard shortcuts available when running Rstest in watch mode. The changes also include improvements to console clearing behavior in the watch mode implementation.
- Adds comprehensive documentation for CLI shortcuts in watch mode
- Implements console clearing functionality for better user experience
- Adds newline prefixes to existing warning messages for better formatting
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| website/docs/zh/guide/basic/cli.mdx | Adds Chinese documentation for CLI shortcuts section |
| website/docs/en/guide/basic/cli.mdx | Adds English documentation for CLI shortcuts section |
| packages/core/src/core/runTests.ts | Implements console clearing and improves message formatting |
| console.clear(); | ||
| }; | ||
| rsbuildInstance.onDevCompileDone(async ({ isFirstCompile }) => { | ||
| // TODO: clean logs before dev recompile |
There was a problem hiding this comment.
The TODO comment mentions 'clean logs before dev recompile' but the implementation immediately follows on lines 168-170. This TODO should be updated or removed since the functionality appears to be implemented.
| // TODO: clean logs before dev recompile |
Summary
add
CLI shortcutssection.Related Links
Checklist