Skip to content

Commit

Permalink
postSavingLock: deepFreeze( state ) passed in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Silverstein committed Oct 25, 2018
1 parent c85982e commit 0696c0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/editor/src/store/test/reducer.js
Expand Up @@ -2282,7 +2282,7 @@ describe( 'state', () => {
'test-lock': true,
} );

state = postSavingLock( state, {
state = postSavingLock( deepFreeze( state ), {
type: 'LOCK_POST_SAVING',
lockName: 'test-lock-2',
} );
Expand All @@ -2292,7 +2292,7 @@ describe( 'state', () => {
'test-lock-2': true,
} );

state = postSavingLock( state, {
state = postSavingLock( deepFreeze( state ), {
type: 'UNLOCK_POST_SAVING',
lockName: 'test-lock',
} );
Expand All @@ -2302,7 +2302,7 @@ describe( 'state', () => {
'test-lock-2': true,
} );

state = postSavingLock( state, {
state = postSavingLock( deepFreeze( state ), {
type: 'UNLOCK_POST_SAVING',
lockName: 'test-lock-2',
} );
Expand Down

0 comments on commit 0696c0c

Please sign in to comment.