3 ms·
Once you have the element it should be fairly straightforward to test computed styles. You may have to add some hooks for react-testing-library to grab elements
by shakes_mcjunkie 3y ago
Once you have the element it should be fairly straightforward to test computed styles. You may have to add some hooks for react-testing-library to grab elements like attributes, unique text, refs, etc. Read up on the tools you should be able to find something in there for your use case.