We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40e901 commit 5411440Copy full SHA for 5411440
test/crypto.test.ts
@@ -38,7 +38,8 @@ function createEncryptedDocument(mongoCrypt: MongoCrypt) {
38
39
const ctx = mongoCrypt.makeExplicitEncryptionContext(BSON.serialize({ v }), {
40
keyId: keyId.buffer,
41
- algorithm
+ algorithm,
42
+ expressionMode: false
43
});
44
45
const getState = () => ctx.state;
@@ -85,7 +86,7 @@ describe('Crypto hooks', () => {
85
86
87
const mongoCryptOptions: ConstructorParameters<MongoCryptConstructor>[0] = {
88
kmsProviders: BSON.serialize(kmsProviders),
- cryptoCallbacks: spiedCallbacks
89
+ cryptoCallbacks: spiedCallbacks,
90
};
91
92
const mongoCrypt = new MongoCrypt(mongoCryptOptions);
0 commit comments