Skip to content

Commit 33aaf5b

Browse files
Update test/unit/assorted/server_discovery_and_monitoring.spec.test.ts
Co-authored-by: Bailey Pearson <[email protected]>
1 parent 201f123 commit 33aaf5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/assorted/server_discovery_and_monitoring.spec.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ function assertTopologyDescriptionOutcomeExpectations(
476476
expect(actualServer).to.have.deep.property(expectedKey, expectedValue);
477477
} else {
478478
// pull the message off the error if it is present
479-
expect(actualServer).to.have.deep.property(expectedKey).instanceof(MongoError);
479+
expect(actualServer).to.have.property(expectedKey).instanceof(MongoError);
480480
expect(actualServer).property(expectedKey).property('message').includes(expectedValue);
481481
}
482482
}

0 commit comments

Comments
 (0)