Skip to content

Commit

Permalink
Double check that the serialized state we generated equals the one we…
Browse files Browse the repository at this point in the history
… have saved
  • Loading branch information
captbaritone committed Oct 1, 2018
1 parent 5560334 commit 82a81bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/serialization.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ function testSerialization<T>({

const readSerializedState = readFixture(name);

expect(readSerializedState).toEqual(serializedState);

const secondStore = getStore();
secondStore.dispatch({
type: LOAD_SERIALIZED_STATE,
Expand Down

0 comments on commit 82a81bf

Please sign in to comment.