I'm submitting a...
[ x ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Feature request
[ ] Documentation issue or request
What is the current behavior?
After syncing the latest ngrx into Google I have one of the tests failing (it's bootstrapping entire AppModule and has StoreDevtoolsModule.instrument({maxAge: 25}) as part of imports). The test fails to initialize, so none of the actual test code is executed yet.
The issue is surfaced in unliftState when computedStates has length of 2, yet currentStateIndex is 2 as well, and thus computedStates[currentStateIndex] returns undefiend.

This is what was the state leading up to this call:

Expected behavior:
Minimal reproduction of the problem with instructions:
Version of affected browser(s),operating system(s), npm, node and ngrx:
Other information:
I'm submitting a...
What is the current behavior?
After syncing the latest ngrx into Google I have one of the tests failing (it's bootstrapping entire
AppModuleand hasStoreDevtoolsModule.instrument({maxAge: 25})as part of imports). The test fails to initialize, so none of the actual test code is executed yet.The issue is surfaced in
unliftStatewhencomputedStateshas length of 2, yetcurrentStateIndexis 2 as well, and thuscomputedStates[currentStateIndex]returnsundefiend.This is what was the state leading up to this call:
Expected behavior:
Minimal reproduction of the problem with instructions:
Version of affected browser(s),operating system(s), npm, node and ngrx:
Other information: