Hello I have been setting up sonar to a couple of react typescript projects and noticed that some lines are marked as not tested inside react functional components even thought the functions used in those lines are fully tested. I believe the reason might be the assignment of the outcome of the function to a variable but maybe it has to do with something else. Hope someone can give me some insight.
I have attached a screenshot. In the example bellow the function itself is fully covered.