Skip to content

Commit 99a6130

Browse files
committed
chore: more metadata
1 parent 006b9b1 commit 99a6130

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

test/integration/client-side-encryption/client_side_encryption.prose.25.lookup.test.ts

+13-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,19 @@ const newEncryptedClient = ({ configuration }: { configuration: TestConfiguratio
4545

4646
describe('$lookup support', defaultMetadata, function () {
4747
before(async function () {
48-
if (
49-
!this.configuration.filters.MongoDBVersionFilter.filter({
50-
metadata: defaultMetadata
51-
} as unknown as Test)
52-
) {
48+
const mochaTest = {
49+
metadata: defaultMetadata
50+
} as unknown as Test;
51+
52+
if (!this.configuration.filters.MongoDBVersionFilter.filter(mochaTest)) {
53+
return;
54+
}
55+
56+
if (!this.configuration.filters.MongoDBTopologyFilter.filter(mochaTest)) {
57+
return;
58+
}
59+
60+
if (!this.configuration.filters.ClientSideEncryptionFilter.filter(mochaTest)) {
5361
return;
5462
}
5563

test/integration/crud/crud.prose.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ describe('CRUD Prose Spec Tests', () => {
10321032
});
10331033

10341034
afterEach(async function () {
1035-
await client.close();
1035+
await client?.close();
10361036
});
10371037

10381038
it('raises a client side error', async function () {

0 commit comments

Comments
 (0)