mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-19 09:33:47 +00:00
Double check that the serialized state we generated equals the one we have saved
This commit is contained in:
parent
55603346c2
commit
82a81bf584
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ function testSerialization<T>({
|
|||
|
||||
const readSerializedState = readFixture(name);
|
||||
|
||||
expect(readSerializedState).toEqual(serializedState);
|
||||
|
||||
const secondStore = getStore();
|
||||
secondStore.dispatch({
|
||||
type: LOAD_SERIALIZED_STATE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue