From 2054d3493ac1bb9e3c1d5b6fadf49560641b70ab Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Mon, 4 Jun 2018 15:46:37 +0100 Subject: [PATCH] Fix unit tests after removing the span --- editor/store/test/effects.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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',