-
Notifications
You must be signed in to change notification settings - Fork 71
[LG-5478] chore(ChartContext): Update test types to match actual API #3217
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
Conversation
|
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.
Pull Request Overview
This PR updates the ChartContext test file to use the correct ChartInstance API instead of an outdated interface that was causing TypeScript errors.
- Replaces deprecated mock API properties with proper ChartInstance interface
- Removes TypeScript error suppressions that were masking API mismatches
- Creates a comprehensive mock object that matches the actual ChartInstance type
Size Change: 0 B Total Size: 1.59 MB ℹ️ View Unchanged
|
✍️ Proposed changes
Test appeared to be using an out of date API.
🎟 Jira ticket: LG-5478
✅ Checklist
For bug fixes, new features & breaking changes
pnpm changeset
and documented my changes🧪 How to test changes