jest Cross origin http://localhost forbidden

JavaScript
{
  "testEnvironment": "node"
}
Source

Also in JavaScript: