-
Notifications
You must be signed in to change notification settings - Fork 131
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
refactor: Collapse to function component #287
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## master #287 +/- ##
==========================================
+ Coverage 98.44% 98.85% +0.40%
==========================================
Files 4 4
Lines 129 87 -42
Branches 39 33 -6
==========================================
- Hits 127 86 -41
+ Misses 2 1 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Is is still WIP ? |
是的,计划把 CC 重构为 FC,然后再解决这个问题 |
1c5bb84
to
332aae6
Compare
wait #294 |
824e884
to
8bac6d3
Compare
ready~
|
这个提交 导致测试覆盖率下降了 |
Test 文件能先不换不,我看有的 keyPress 改成了 keyDown。重构需要避免有逻辑变化。 |
那先 revert HEAD~2 ? |
能趁此补一下测试用例不?把覆盖率拉上去 |
ready~ |
src/Collapse.tsx
和src/Panel.tsx
从 Class Compoent 重构为 Function Component