From 09210ef5cd2a0169bccab0e55e56c3ecf88a68c1 Mon Sep 17 00:00:00 2001 From: Jarda Snajdr Date: Wed, 28 Jun 2023 17:05:04 +0200 Subject: [PATCH] hasResolvingSelector: exclude from result of resolveSelect (#52038) --- packages/data/src/redux-store/index.js | 1 + packages/data/src/redux-store/test/index.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/data/src/redux-store/index.js b/packages/data/src/redux-store/index.js index 933cd11f3ddba..583a1ebed1dbb 100644 --- a/packages/data/src/redux-store/index.js +++ b/packages/data/src/redux-store/index.js @@ -422,6 +422,7 @@ function mapResolveSelectors( selectors, store ) { getCachedResolvers, getResolutionState, getResolutionError, + hasResolvingSelectors, ...storeSelectors } = selectors; diff --git a/packages/data/src/redux-store/test/index.js b/packages/data/src/redux-store/test/index.js index e3cc2c727dbc5..daca128480dae 100644 --- a/packages/data/src/redux-store/test/index.js +++ b/packages/data/src/redux-store/test/index.js @@ -281,7 +281,6 @@ describe( 'resolveSelect', () => { it( 'returns only store native selectors and excludes all meta ones', () => { expect( Object.keys( registry.resolveSelect( 'store' ) ) ).toEqual( [ - 'hasResolvingSelectors', 'getItems', 'getItemsNoResolver', ] );