-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add script alias test:unit and test:e2e #2779
Conversation
WalkthroughThe pull request introduces two new script entries in the Changes
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Walkthrough此PR增加了两个新的脚本命令别名: Changes
|
@@ -88,10 +88,12 @@ | |||
"// ---------- 自动化发测试包 ----------": "", | |||
"auto-build-pub": "pnpm -C internals/automate auto-build-pub", | |||
"// ---------- unit单元测试 ----------": "", | |||
"test:unit": "pnpm test:unit3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that the alias test:unit
correctly maps to the intended test suite. Verify that pnpm test:unit3
is the desired command.
"test:unit2": "pnpm -C examples/vue2 test:unit", | ||
"test:unit2.7": "pnpm -C examples/vue2.7 test:unit", | ||
"test:unit3": "pnpm -C examples/vue3 test:unit", | ||
"// ---------- e2e自动化测试 ----------": "", | ||
"test:e2e": "pnpm test:e2e3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that the alias test:e2e
correctly maps to the intended test suite. Verify that pnpm test:e2e3
is the desired command.
WalkthroughThis PR adds two new script command aliases: Changes
|
[e2e-test-warn] The title of the Pull request should look like "fix(vue-renderless): [action-menu, alert] fix xxx bug". Please make sure you've read our contributing guide |
PR
增加
test:unit
和test:e2e
命令别名,分别用来执行单元测试和E2E测试。如果要执行某个组件的测试用例,可以在命令后面增加组件名称。
比如 Button 组件,可以使用:
pnpm test:unit button
和pnpm test:e2e button
。PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit