Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(useReactRedux): ent-4669 expand useSelectorsResponse #916

Merged
merged 2 commits into from
Apr 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/components/inventoryCard/__tests__/inventoryCard.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ describe('InventoryCard Component', () => {
useProductInventoryQuery: () => ({
[RHSM_API_QUERY_TYPES.LIMIT]: 10,
[RHSM_API_QUERY_TYPES.OFFSET]: 0
}),
useGetInventory: () => ({
pending: true
})
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ describe('GuestsList Component', () => {
it('should render a basic component', async () => {
const props = {
id: 'lorem',
numberOfGuests: 0
numberOfGuests: 0,
useGetGuestsInventory: () => ({ pending: true })
};

const component = await shallowHookComponent(<InventoryGuests {...props} />);
Expand Down
Loading