Skip to content

Commit 2cea990

Browse files
committed
address PR feedback
1 parent b88d2a4 commit 2cea990

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

test/types/client-side-encryption.test-d.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import type {
44
AutoEncryptionOptions,
55
AWSEncryptionKeyOptions,
66
AzureEncryptionKeyOptions,
7-
BulkWriteResult,
87
ClientEncryption,
98
ClientEncryptionEncryptOptions,
109
GCPEncryptionKeyOptions,
@@ -159,12 +158,8 @@ expectAssignable<RequiredCreateEncryptedCollectionSettings>({
159158
});
160159
}
161160

161+
declare const clientEncryption: ClientEncryption;
162162
{
163-
const clientEncryption: ClientEncryption = null as never;
164-
expectType<Promise<{ bulkWriteResult?: BulkWriteResult }>>(
165-
clientEncryption.rewrapManyDataKey({})
166-
);
167-
expectType<Promise<{ bulkWriteResult?: BulkWriteResult }>>(
168-
clientEncryption.rewrapManyDataKey({}, { provider: 'aws' })
169-
);
163+
await clientEncryption.rewrapManyDataKey({});
164+
await clientEncryption.rewrapManyDataKey({}, { provider: 'aws' });
170165
}

0 commit comments

Comments
 (0)