Skip to content

Commit 3a5757f

Browse files
committed
test(react): add tests and mocks for invitation components
1 parent 1755393 commit 3a5757f

13 files changed

Lines changed: 1393 additions & 0 deletions

File tree

packages/react/src/components/auth0/my-organization/shared/idp-management/sso-provider-edit/__tests__/sso-provider-tab.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ describe('SsoProviderTab', () => {
3131
display_name: 'Test Provider Display',
3232
options: {},
3333
strategy: 'oidc', // Use a valid strategy property
34+
attributes: [], // Required by IdpOidcResponse
3435
},
3536
onDelete: vi.fn(),
3637
onRemove: vi.fn(),

packages/react/src/components/auth0/my-organization/shared/idp-management/sso-provider-table/__tests__/sso-provider-table-action.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function createMockProvider(overrides = {}) {
2222
strategy: 'oidc' as const,
2323
is_enabled: true,
2424
options: {},
25+
attributes: [],
2526
...overrides,
2627
};
2728
}

0 commit comments

Comments
 (0)