When I want to run my project with the command npm run test, I get the error below. What is causing this?
npm run test
FAIL ● Test suite failed to run SecurityE
This popped up with me when integrating enzyme with jest. The Github Issue Discussion suggests the same as noted above, namely adding
enzyme
jest
"testURL": "http://localhost/"
to the jest config. However, it's good to know that this is triggered also by enzyme. For me it was React v15 and the v15 adapter.