Open vandriesh opened 2 years ago
Question: any plans to expect adjust hasFinalState to consider immutable.js based state or give a possibility to transform state e.g.
... .hasFinalState((state) => state.getIn(['x','y]) === 'yyy) ...
e.g. now it looks like:
SagaTestError: Expected to have final store state: ----------------------------------- Map { size: 1, _root: ArrayMapNode { ownerID: OwnerID {}, entries: [ [ 'data', [Map] ] ] }, __ownerID: undefined, __hash: undefined, __altered: false } But instead had final store state: ---------------------------------- Map { size: 1, _root: ArrayMapNode { ownerID: undefined, entries: [ [ 'data', [Map] ] ] }, __ownerID: undefined, __hash: undefined, __altered: false }
Question: any plans to expect adjust hasFinalState to consider immutable.js based state or give a possibility to transform state e.g.
e.g. now it looks like: