Skip to content

Commit 4b7add7

Browse files
committed
refactor: migrate iam use case in tests
1 parent a1f3e85 commit 4b7add7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/test/stepFunctions/workflowStudio/workflowStudioApiHandler.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ApiAction, Command, MessageType, WebviewContext } from '../../../stepFu
1111
import * as vscode from 'vscode'
1212
import { assertTelemetry } from '../../testUtil'
1313
import { DefaultStepFunctionsClient } from '../../../shared/clients/stepFunctionsClient'
14-
import { DefaultIamClient } from '../../../shared/clients/iamClient'
14+
import { IamClient } from '../../../shared/clients/iam'
1515

1616
describe('WorkflowStudioApiHandler', function () {
1717
let postMessageStub: sinon.SinonStub
@@ -59,7 +59,7 @@ describe('WorkflowStudioApiHandler', function () {
5959
const sfnClient = new DefaultStepFunctionsClient('us-east-1')
6060
apiHandler = new WorkflowStudioApiHandler('us-east-1', context, {
6161
sfn: sfnClient,
62-
iam: new DefaultIamClient('us-east-1'),
62+
iam: new IamClient('us-east-1'),
6363
})
6464

6565
testState = sinon.stub(sfnClient, 'testState')

0 commit comments

Comments
 (0)