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
If you are using jsdom, make sure you include url.
Checkout jsdom repository simple options. https://github.com/jsdom/jsdom#simple-options
const jsdom = require("jsdom"); const { JSDOM } = jsdom; const dom = new JSDOM(`...`, { url: "https://example.org/" });