Team recently switched to
create-react-app and as a result I'm not able to run tests via IntelliJ like I used to. I'm unsure how to remedy this after searching and the errors provided aren't too informative.
Currently I'm just running the tests in my console via
npm run test [path to test] but I really do miss the IntelliJ test runner. Tried updating my test configuration to use
/app/node_modules/react-app-rewired but that results in this unhelpful message.
Unknown script "--colors".
Perhaps you need to update react-scripts?
Process finished with exit code 0
At my wits end with this, if someone could please help me that would be greatly appreciated.
IntelliJ IDEA 2022.3.3 (Ultimate Edition)