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: {