-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
fix: recover deleted code #64
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/react-component/image/7o7n02k5o |
act(() => { | ||
wrapper.setProps({}); | ||
jest.runAllTimers(); | ||
wrapper.update(); |
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.
Codecov Report
@@ Coverage Diff @@
## master #64 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 230 233 +3
Branches 63 65 +2
=========================================
+ Hits 230 233 +3
Continue to review full report at Codecov.
|
啊 我当时发现这一块代码没了 还以为是特意删除的 |
应该是,所以要把判断条件抽出去判断下 |
Fixes ant-design/ant-design#28953