From aede0f97d50a60bd499702dae94c13666e681a6d Mon Sep 17 00:00:00 2001 From: dufresnesteven Date: Tue, 16 Jun 2020 11:18:10 +0900 Subject: [PATCH] Move the test back into its area. --- .../src/store/test/selectors.js | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/block-directory/src/store/test/selectors.js b/packages/block-directory/src/store/test/selectors.js index ff2b6911d60458..14d72e7c7e178b 100644 --- a/packages/block-directory/src/store/test/selectors.js +++ b/packages/block-directory/src/store/test/selectors.js @@ -87,21 +87,6 @@ describe( 'selectors', () => { } ); } ); - describe( 'getErrorNotices', () => { - const state = { - errorNotices: { - 'block/has-error': 'Error notice', - }, - }; - - it( 'should retrieve all error notices', () => { - const errorNotices = getErrorNotices( state ); - expect( errorNotices ).toEqual( { - 'block/has-error': 'Error notice', - } ); - } ); - } ); - describe( 'getNewBlockTypes', () => { it( 'should retrieve the block types that are installed and in the post content', () => { getNewBlockTypes.registry = { @@ -172,6 +157,21 @@ describe( 'selectors', () => { } ); } ); + describe( 'getErrorNotices', () => { + const state = { + errorNotices: { + 'block/has-error': 'Error notice', + }, + }; + + it( 'should retrieve all error notices', () => { + const errorNotices = getErrorNotices( state ); + expect( errorNotices ).toEqual( { + 'block/has-error': 'Error notice', + } ); + } ); + } ); + describe( 'getErrorNoticeForBlock', () => { const state = { errorNotices: {