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 dbdb2ad commit 8b8fb4fCopy full SHA for 8b8fb4f
test/tools/unified-spec-runner/match.ts
@@ -740,6 +740,7 @@ export function expectErrorCheck(
740
expect(error).to.be.instanceOf(MongoServerError);
741
} else if (expected.isClientError === true) {
742
if (error instanceof MongoBulkWriteError) {
743
+ // TODO(NODE-6281): do not throw MongoServerErrors from bulk write if the error is a client-side error
744
expect(error.errorResponse).not.to.be.instanceOf(MongoServerError);
745
} else {
746
expect(error).not.to.be.instanceOf(MongoServerError);
0 commit comments