I am using react-testing-library to test my components. I have a TableHeader component which goes like this:
// rest of content