diff --git a/editor/store/test/effects.js b/editor/store/test/effects.js index 4a25a91137079c..86217dca00f10c 100644 --- a/editor/store/test/effects.js +++ b/editor/store/test/effects.js @@ -302,7 +302,7 @@ describe( 'effects', () => { expect( dispatch ).toHaveBeenCalledTimes( 1 ); expect( dispatch ).toHaveBeenCalledWith( expect.objectContaining( { notice: { - content:
Post published! View post
, // eslint-disable-line jsx-a11y/anchor-is-valid + content:Post published!{ ' ' }View post
, // eslint-disable-line jsx-a11y/anchor-is-valid id: 'SAVE_POST_NOTICE_ID', isDismissible: true, status: 'success', @@ -325,7 +325,7 @@ describe( 'effects', () => { expect( dispatch ).toHaveBeenCalledWith( expect.objectContaining( { notice: { content:- Post reverted to draft. + Post reverted to draft. { ' ' } { false }
, @@ -350,7 +350,7 @@ describe( 'effects', () => { expect( dispatch ).toHaveBeenCalledTimes( 1 ); expect( dispatch ).toHaveBeenCalledWith( expect.objectContaining( { notice: { - content:Post updated!{ ' ' }{ 'View post' }
, // eslint-disable-line jsx-a11y/anchor-is-valid + content:Post updated!{ ' ' }{ 'View post' }
, // eslint-disable-line jsx-a11y/anchor-is-valid id: 'SAVE_POST_NOTICE_ID', isDismissible: true, status: 'success',