From f463ea23c58d545401df0af8539ba6927e6f351d Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Fri, 5 Jun 2020 15:16:29 +0200 Subject: [PATCH] Fix unit test --- packages/edit-site/src/store/test/actions.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/edit-site/src/store/test/actions.js b/packages/edit-site/src/store/test/actions.js index ccc2e31d21cb7..6f3148ed1801c 100644 --- a/packages/edit-site/src/store/test/actions.js +++ b/packages/edit-site/src/store/test/actions.js @@ -73,13 +73,10 @@ describe( 'actions', () => { args: [], } ); expect( it.next( page ).value ).toEqual( { - value: { - type: 'DISPATCH', - storeKey: 'core/edit-site', - actionName: 'setPage', - args: [ page ], - }, - done: true, + type: 'DISPATCH', + storeKey: 'core/edit-site', + actionName: 'setPage', + args: [ page ], } ); } ); } );