Skip to content

Add RTL tests for the HealthMetrics compliance and fee-generation charts#1110

Merged
1nonlypiece merged 1 commit into
Commitlabs-Org:masterfrom
Baskarayelu:issue-980
Jun 29, 2026
Merged

Add RTL tests for the HealthMetrics compliance and fee-generation charts#1110
1nonlypiece merged 1 commit into
Commitlabs-Org:masterfrom
Baskarayelu:issue-980

Conversation

@Baskarayelu

Copy link
Copy Markdown
Contributor

Closes #980

Summary

  • New test file src/components/dashboard/__tests__/HealthMetricsCharts2.test.tsx with focused RTL tests for HealthMetricsComplianceChart and HealthMetricsFeeGenerationChart
  • Covers representative series, empty series, single-point series, 100% compliance ceiling, and zero fees
  • Mocks ResponsiveContainer with fixed dimensions for happy-dom rendering and mocks VolatilityExposureMeter to keep chart tests focused
  • Includes isolated CustomTooltip contract tests for both charts

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Baskarayelu is attempting to deploy a commit to the 1nonly's projects Team on Vercel.

A member of the Team first needs to authorize it.

…on charts (Commitlabs-Org#980)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@1nonlypiece 1nonlypiece merged commit 53cda70 into Commitlabs-Org:master Jun 29, 2026
2 of 12 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.

Add RTL tests for the HealthMetrics compliance and fee-generation charts

2 participants