title: npm run test - unsafe-perm in lifecycle
body: <p>I have a Reac/Redux app that runs fine, however when I run the following command</p>
  <p><code>npm run test</code></p>
  <p>I get the following error</p>
  <pre><code>6 info lifecycle MyApp@0.0.0~test: MyApp@0.0.0
  7 verbose lifecycle MyApp@0.0.0~test: unsafe-perm in lifecycle true
  8 verbose lifecycle MyApp@0.0.0~test: PATH: C:\....\...
  9 verbose lifecycle MyApp@0.0.0~test: CWD: C:\projects\MyApp\MyApp\MyApp-web
  10 silly lifecycle MyApp@0.0.0~test: Args: [ '/d /s /c', 'mocha --require src/testSetup.js &quot;src/**/*.test.js*&quot; ' ]
  11 silly lifecycle MyApp@0.0.0~test: Returned: code: 1  signal: null
  12 info lifecycle MyApp@0.0.0~test: Failed to exec test script
  13 verbose stack Error: MyApp@0.0.0 test: `mocha --require src/testSetup.js &quot;src/**/*.test.js*&quot; `
  13 verbose stack Exit status 1
  13 verbose stack     at EventEmitter.&lt;anonymous&gt; (C:\....\NodeJs\12.1.0\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
  13 verbose stack     at EventEmitter.emit (events.js:196:13)
  13 verbose stack     at ChildProcess.&lt;anonymous&gt; (C:\....\NodeJs\12.1.0\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
  13 verbose stack     at ChildProcess.emit (events.js:196:13)
  13 verbose stack     at maybeClose (internal/child_process.js:1000:16)
  13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5)
  </code></pre>
  <p>I don't know what is causing this issue. Any idea how I can resolve this error?</p>