From 1cdcab17d0a47fc9da0ff1f263361722481c8b54 Mon Sep 17 00:00:00 2001 From: Eric Villa Date: Tue, 5 Mar 2024 23:16:49 +0100 Subject: [PATCH] chore: fixed aws-sso-integration-service test suite --- .../integration/aws-sso-integration-service.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/services/integration/aws-sso-integration-service.spec.ts b/packages/core/src/services/integration/aws-sso-integration-service.spec.ts index 074bd60b5..1a02a6191 100644 --- a/packages/core/src/services/integration/aws-sso-integration-service.spec.ts +++ b/packages/core/src/services/integration/aws-sso-integration-service.spec.ts @@ -5,7 +5,7 @@ import { Session } from "../../models/session"; import { SessionType } from "../../models/session-type"; import { constants } from "../../models/constants"; import { ThrottleService } from "../throttle-service"; -import { ListAccountRolesCommandInput, ListAccountRolesRequest } from "@aws-sdk/client-sso"; +import { AccountInfo, ListAccountRolesCommandInput, ListAccountRolesRequest, RoleInfo } from "@aws-sdk/client-sso"; describe("AwsSsoIntegrationService", () => { afterEach(() => { @@ -771,13 +771,13 @@ describe("AwsSsoIntegrationService", () => { }, ]; - const accountInfo: SSO.AccountInfo = { + const accountInfo: AccountInfo = { accountId: "testAccountId", accountName: "testAccountName", emailAddress: "test@gmail.com", }; - const accountRole: SSO.RoleInfo = { + const accountRole: RoleInfo = { roleName: "roleTest", accountId: "testAccountId", };