【发布时间】:2016-08-10 22:47:16
【问题描述】:
在使用 Karma 为 react-redux 应用程序运行测试时,它们都通过 webkit 通过但使用 phantomJS 失败并出现以下错误:
TypeError: undefined is not a constructor (evaluating 'Object.assign({} [...]
这也会使测试运行程序崩溃。
【问题讨论】:
标签: reactjs npm phantomjs karma-runner redux