Skip to content

Commit 8eef09b

Browse files
committed
Fixing data payload
1 parent 1c40ad0 commit 8eef09b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tst/unit/handlers/AuthHandler.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ describe('AuthHandler', () => {
2222

2323
test('iamCredentialsUpdateHandler calls handleIamCredentialsUpdate', async () => {
2424
const params: UpdateCredentialsParams = {
25-
data: {
25+
data: JSON.stringify({
2626
profile: 'test-profile',
2727
accessKeyId: 'test',
2828
secretAccessKey: 'test',
2929
region: 'Region',
30-
},
30+
}),
3131
};
3232
awsCredentials.handleIamCredentialsUpdate.resolves(true);
3333
const result = await iamCredentialsUpdateHandler(mockComponents)(params, mockCancellationToken);

0 commit comments

Comments
 (0)