0
我的笑話測試工作正常與組件。但是,在導入操作時,它會拋出以下錯誤,並指出反應的錯誤安裝方法。進口減速器/行動在笑話投擲錯誤
Invariant Violation: _registerComponent(...): Target container is not a DOM element.
ReactDom正在一些其他測試中被調用,但即使在刪除它之後,錯誤依然存在。
在進口減速以下被拋出
Expected the reducer to be a function.
同時,最小碼重建,這看起來像
import { someAction } from './actions';