Skip to content

Commit

Permalink
hasResolvingSelector: exclude from result of resolveSelect (WordPress…
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr authored and sethrubenstein committed Jul 13, 2023
1 parent aa507a4 commit 7bee89b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions packages/data/src/redux-store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ function mapResolveSelectors( selectors, store ) {
getCachedResolvers,
getResolutionState,
getResolutionError,
hasResolvingSelectors,
...storeSelectors
} = selectors;

Expand Down
1 change: 0 additions & 1 deletion packages/data/src/redux-store/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
] );
Expand Down

0 comments on commit 7bee89b

Please sign in to comment.