npm karma phantomJS undefined is not a constructor
<p>When running tests for a react-redux application with Karma, they were all passing with webkit but failing with phantomJS with the following error:</p>

<p><code>TypeError: undefined is not a constructor (evaluating 'Object.assign({} [...]</code></p>

<p>This would also crash the test runner.</p>