Skip to content

Commit 05eabba

Browse files
committed
test: remove redundant assertion
1 parent 8f154f6 commit 05eabba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/tools/unified-spec-runner/operations.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@ operations.set('waitForEvent', async ({ entities, operation }) => {
452452
expect(count).to.be.a('number', 'Error in waitForEvent operation, invalid count');
453453

454454
const mongoClient = entities.getEntity('client', client, true);
455-
expect(mongoClient, `Failed to retrieve cleint entity: ${client}`).to.exist;
456455

457456
const eventName = Object.keys(event)[0];
458457
const eventPromise = new Promise<void>(resolve => {
@@ -494,7 +493,6 @@ operations.set('assertEventCount', async ({ entities, operation }) => {
494493
expect(count).to.be.a('number', 'Error in assertEventCount operation, invalid count');
495494

496495
const mongoClient = entities.getEntity('client', client, true);
497-
expect(mongoClient, `Failed to retrieve cleint entity: ${client}`).to.exist;
498496

499497
const eventName = Object.keys(event)[0];
500498
const actualEventCount = getMatchingEventCount(event, mongoClient, entities);

0 commit comments

Comments
 (0)