Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
MonPote committed May 2, 2024
1 parent 6d88be5 commit 3da606f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/react/ui-elements/SelectAccountIAMRole.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const AssumeDefaultIAMRole = ({
defaultValue,
}: Pick<SelectAccountIAMRoleWithAccountProps, 'defaultValue'>) => {
const accessibleAccountsAdapter = useAccessibleAccountsAdapter();
const metricsAdapter = new NoOppMetricsAdapter();
const metricsAdapter = new NoOpMetricsAdapter();
const accounts = useListAccounts({
accessibleAccountsAdapter,
metricsAdapter,
Expand Down
4 changes: 0 additions & 4 deletions src/react/ui-elements/__tests__/SelectAccountIAMRole.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,6 @@ describe('SelectAccountIAMRole', () => {
});

expect(screen.getByText('no-bucket')).toBeInTheDocument();

debug();
});

it('renders with wrong default value', async () => {
Expand Down Expand Up @@ -363,7 +361,5 @@ describe('SelectAccountIAMRole', () => {
await userEvent.type(seletors.roleSelect(), 'data-consumer');

expect(screen.getByText(/no options/i)).toBeInTheDocument();


});
});

0 comments on commit 3da606f

Please sign in to comment.