-
-
Notifications
You must be signed in to change notification settings - Fork 34
Further arc tests #767
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
Further arc tests #767
Conversation
Now covers all props. Here are all the new tests added:
Motion Tests (fixed/rewritten):
1. should accept spring motion config - Rewritten to test animation from initial to final state using expect.poll()
2. should accept tween motion config - Uncommented and fixed to test animation
Props Tests (new):
3. should render with custom domain - Tests domain prop individually
4. should render with custom range - Tests range prop individually
5. should render with startAngle in radians - Tests startAngle prop
6. should render with endAngle in radians - Tests endAngle prop
7. should render with both startAngle and endAngle - Tests combined usage
8. should render with innerRadius - Tests innerRadius prop individually
9. should render with outerRadius - Tests outerRadius prop individually
10. should render track with trackStartAngle - Tests trackStartAngle prop individually
11. should render track with trackEndAngle - Tests trackEndAngle prop individually
12. should render track with trackStartAngle and trackEndAngle - Tests combined usage
13. should render track with trackInnerRadius - Tests trackInnerRadius prop individually
14. should render track with trackOuterRadius - Tests trackOuterRadius prop individually
15. should render track with trackCornerRadius - Tests trackCornerRadius prop (was commented out)
16. should render track with trackPadAngle - Tests trackPadAngle prop (was missing)
17. should call tooltipContext.show on pointer enter with data - Tests tooltipContext + data props
18. should call tooltipContext.hide on pointer leave - Tests tooltipContext hide behavior
19. should apply stroke color - Tests stroke prop explicitly
20. should apply strokeWidth - Tests strokeWidth prop (was missing)
|
commit: |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
No description provided.