Skip to content

Commit 31e7f12

Browse files
committed
test: fix
1 parent 381a5f3 commit 31e7f12

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/integration/auth/mongodb_aws.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ describe('MONGODB-AWS', function () {
211211
this.skipReason = 'Test only runs when credentials are present in the URI';
212212
return this.skip();
213213
}
214-
// @ts-expect-error We intentionally access a protected variable.
215-
const credentialProvider = AWSTemporaryCredentialProvider.awsSDK;
214+
const credentialProvider = AWSSDKCredentialProvider.awsSDK;
216215
provider = async () => {
217216
providerCount++;
218217
return await credentialProvider.fromNodeProviderChain().apply();

0 commit comments

Comments
 (0)