Skip to content

Commit

Permalink
Remove redundant code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
berthertogen committed Mar 14, 2018
1 parent fc9138a commit 0f31877
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/store/spec/utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ describe(`Store utils`, () => {
initialStateForReducer2Only as any
);
const updateAction1 = { type: 'state1', payload: 'foo' };
expect(combinationForReducer1(undefined, updateAction1)).toEqual({
...initialState,
...{ reducer2: { y: 'bar' } },
});
expect(combinationForReducer1(undefined, updateAction1)).toEqual(
initialState
);
});
});

Expand Down

0 comments on commit 0f31877

Please sign in to comment.