-
-
Notifications
You must be signed in to change notification settings - Fork 46.8k
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
test: migrate part of form tests #37727
Conversation
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #37727 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 443 443
Lines 8204 8204
Branches 2421 2421
=========================================
Hits 8204 8204 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
await Promise.resolve(); | ||
formRef.current?.setFieldsValue({ light: 'bamboo' }); | ||
|
||
await waitFakeTimer(); |
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.
这里是不是导致 test 失败了?
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.
这里有什么问题嘛?我本地是跑过了的
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.
这里 test 失败了,shouldRender 应该 call 两次,测试只 call 了一次
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
test: migrate part of form tests
☑️ Self-Check before Merge