Came across an edgecase, where if a component imported from the specified library is used as JSX inside of a prop of another component that is imported from elsewhere, it is not counted as a used instance.
Failing test (note that the expected report might not be 100% accurate, but it currently fails with "Actual: {}", which is definitely not correct):
Came across an edgecase, where if a component imported from the specified library is used as JSX inside of a prop of another component that is imported from elsewhere, it is not counted as a used instance.
Failing test (note that the expected report might not be 100% accurate, but it currently fails with "Actual:
{}
", which is definitely not correct):