Skip to content

Commit

Permalink
chore: remove unused declaration (#161)
Browse files Browse the repository at this point in the history
Fixes #

(cherry picked from commit 403a498)

# Conflicts:
#	test/aws.test.ts
  • Loading branch information
rix0rrr committed Nov 6, 2024
1 parent 61e345c commit 3d1a66b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/aws.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
import * as os from 'os';
import { DefaultAwsClient } from '../lib';

<<<<<<< HEAD
beforeEach(() => {
jest.requireActual('aws-sdk');
=======
jest.mock('@aws-sdk/credential-providers');

const roleArn = 'arn:aws:iam:123456789012:role/the-role-of-a-lifetime';

mockSTS.on(GetCallerIdentityCommand).resolves({
Account: '123456789012',
Arn: roleArn,
>>>>>>> 403a498 (chore: remove unused declaration (#161))
});

test('assumeRole passes the right parameters to STS', async () => {
Expand Down

0 comments on commit 3d1a66b

Please sign in to comment.