Skip to content

Commit bc6fe74

Browse files
committed
test(NODE-3404): fix GridFS test waiting for the wrong error
1 parent f896fd5 commit bc6fe74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/gridfs_stream.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ describe('GridFS Stream', function () {
528528
uploadStream.abort().then(null, function (error) {
529529
expect(error.toString()).to.equal(
530530
// TODO(NODE-3405): Replace with MongoStreamClosedError
531-
'MongoGridFSStreamError: Cannot call abort() on a stream twice'
531+
'MongoDriverError: Cannot call abort() on a stream twice'
532532
);
533533
client.close(done);
534534
});

0 commit comments

Comments
 (0)