Skip to content

Commit

Permalink
fixed using save state var
Browse files Browse the repository at this point in the history
  • Loading branch information
mzorz committed Oct 23, 2020
1 parent d2d031a commit 9dd50c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ describe( 'BlockMediaUpdateProgress component', () => {

sendMediaSave( payloadSuccess );

expect( wrapper.instance().state.isUploadInProgress ).toEqual( false );
expect( wrapper.instance().state.isSaveInProgress ).toEqual( false );
expect( onFinishMediaSaveWithSuccess ).toHaveBeenCalledTimes( 1 );
expect( onFinishMediaSaveWithSuccess ).toHaveBeenCalledWith(
payloadSuccess
Expand Down

0 comments on commit 9dd50c7

Please sign in to comment.