From 72ca92009901885879183977ad85ae014f601615 Mon Sep 17 00:00:00 2001 From: Jarda Snajdr Date: Wed, 28 Jun 2023 13:23:48 +0200 Subject: [PATCH] hasResolvingSelector: exclude from result of resolveSelect --- 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 7b1c0d2991e69d..87b0838b8f181d 100644 --- a/packages/data/src/redux-store/index.js +++ b/packages/data/src/redux-store/index.js @@ -402,6 +402,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 e3cc2c727dbc5f..daca128480daeb 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', ] );