My code and tests are functioning properly, but I am facing a challenge with my react-table file. The react-table.js API specifies that in order to use their CSS file, I need to include
import "react-table/react-table.css";
in my react-table.js file. However, when I do this, my tests fail during compilation. I have followed the example of a simple table on the react-table.js website. How can I incorporate their CSS file while ensuring that my tests still pass?
Below is the error message I receive if I do not comment out the CSS import: https://i.sstatic.net/RqcIj.png