Skip to content

Commit 956f7d0

Browse files
Apply suggestions from code review
Co-authored-by: Neal Beeken <[email protected]>
1 parent 5b9528a commit 956f7d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/client-side-encryption/client_side_encryption.prose.18.azure_kms_mock_server.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ context('Azure KMS Mock Server Tests', function () {
4444
url: URL;
4545
headers: Document;
4646
}) => Promise<{ accessToken: string }>;
47-
let KMSRequestFailedError: Error;
47+
let MongoCryptAzureKMSRequestError: Error;
4848

4949
const AZURE_KMS_TEST_EXPORTS = '___azureKMSProseTestExports';
5050
beforeEach(async function () {
@@ -88,7 +88,7 @@ context('Azure KMS Mock Server Tests', function () {
8888
// The test case should ensure that this error condition is handled gracefully.
8989

9090
it('returns an error', async () => {
91-
const credentials = await fetchAzureKMSToken(new KMSRequestOptions('empty-json')).catch(
91+
const error = await fetchAzureKMSToken(new KMSRequestOptions('empty-json')).catch(
9292
e => e
9393
);
9494

0 commit comments

Comments
 (0)