F
Filamentβ€’4mo ago
Ajith Lal

How to write test for chart widgets or do we need to test chart widgets

I have few charts on my dashboard. I'm confused do we need to write test for those and if yes, how do we write test for those?
2 Replies
hannes
hannesβ€’4mo ago
Hi, add description for charts: https://filamentphp.com/docs/3.x/widgets/charts#adding-a-description , and here you can see some of the charts : https://filamentphp.com/docs/3.x/widgets/charts. P.S. I hope I understood you correctly πŸ™‚
Ajith Lal
Ajith Lalβ€’4mo ago
Thanks for the response. But That was not my actual query. My query was about writing unit tests for the chart widget. How can we write unit tests for the chart widget or do we need to write unit test for the chart widgets?