Double check that the serialized state we generated equals the one we have saved

This commit is contained in:
Jordan Eldredge 2018-09-30 00:21:14 -07:00
parent 55603346c2
commit 82a81bf584

View file

@ -57,6 +57,8 @@ function testSerialization<T>({
const readSerializedState = readFixture(name);
expect(readSerializedState).toEqual(serializedState);
const secondStore = getStore();
secondStore.dispatch({
type: LOAD_SERIALIZED_STATE,