Skip to content

Commit

Permalink
chore: more metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Feb 24, 2025
1 parent 178e471 commit ab77f26
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ const newEncryptedClient = ({ configuration }: { configuration: TestConfiguratio

describe('$lookup support', defaultMetadata, function () {
before(async function () {
if (
!this.configuration.filters.MongoDBVersionFilter.filter({
metadata: defaultMetadata
} as unknown as Test)
) {
const mochaTest = {
metadata: defaultMetadata
} as unknown as Test;

if (!this.configuration.filters.MongoDBVersionFilter.filter(mochaTest)) {
return;
}

if (!this.configuration.filters.MongoDBTopologyFilter.filter(mochaTest)) {
return;
}

if (!this.configuration.filters.ClientSideEncryptionFilter.filter(mochaTest)) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion test/integration/crud/crud.prose.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ describe('CRUD Prose Spec Tests', () => {
});

afterEach(async function () {
await client.close();
await client?.close();
});

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

0 comments on commit ab77f26

Please sign in to comment.