In the mapStateToProps for InstallButton there is a line(state.installations || {}). If the or is removed then the tests break without running anything and the error message is not useful. There is likely a render happening outside of a beforeEach() or it() block that needs to move into a beforeAll() (or whatever it is in mocha).
In the
mapStateToProps
forInstallButton
there is a line(state.installations || {})
. If the or is removed then the tests break without running anything and the error message is not useful. There is likely a render happening outside of abeforeEach()
orit()
block that needs to move into abeforeAll()
(or whatever it is in mocha).