Skip to content

Conversation

@cycle4passion
Copy link

No description provided.

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)
@changeset-bot
Copy link

changeset-bot bot commented Jan 25, 2026

⚠️ No Changeset found

Latest commit: c5fc431

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 25, 2026

Open in StackBlitz

npm i https://pkg.pr.new/layerchart@767

commit: c5fc431

@github-actions
Copy link
Contributor

github-actions bot commented Jan 25, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
layerchart ✅ Ready (View Log) Visit Preview c5fc431

@techniq techniq merged commit ffa4697 into techniq:docs-v2 Jan 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants