expectInitialState

suspend fun expectInitialState()(source)

Deprecated

Initial state is now checked automatically. If you wish to manually verify the initial state, use `autoCheckInitialState=false` in test settings and use `expectState` or `awaitState`

Sanity check assertion. Checks if the initial state is emitted and matches the initial state defined for the production container (or the one specified in the test).

Throws

if initial state does not match.