Skip to content

Commit 8b8fb4f

Browse files
add todo for hack in UTR
1 parent dbdb2ad commit 8b8fb4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ export function expectErrorCheck(
740740
expect(error).to.be.instanceOf(MongoServerError);
741741
} else if (expected.isClientError === true) {
742742
if (error instanceof MongoBulkWriteError) {
743+
// TODO(NODE-6281): do not throw MongoServerErrors from bulk write if the error is a client-side error
743744
expect(error.errorResponse).not.to.be.instanceOf(MongoServerError);
744745
} else {
745746
expect(error).not.to.be.instanceOf(MongoServerError);

0 commit comments

Comments
 (0)