Skip to content

Commit a13a103

Browse files
fix wire protocol tests
1 parent f0a46ee commit a13a103

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/unit/assorted/wire_version.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const { isHello } = require('../../../src/utils');
77

88
const minCompatErrMsg = `minimum wire version ${
99
Number.MAX_SAFE_INTEGER - 1
10-
}, but this version of the Node.js Driver requires at most 17`;
10+
}, but this version of the Node.js Driver requires at most 21`;
1111
const maxCompatErrMsg = `reports maximum wire version 1, but this version of the Node.js Driver requires at least 6`;
1212

1313
describe('Wire Protocol Version', () => {

test/unit/cmap/wire_protocol/constants.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('Wire Protocol Constants', function () {
2727

2828
describe('MAX_SUPPORTED_WIRE_VERSION', function () {
2929
it('returns 17', function () {
30-
expect(MAX_SUPPORTED_WIRE_VERSION).to.equal(17);
30+
expect(MAX_SUPPORTED_WIRE_VERSION).to.equal(21);
3131
});
3232
});
3333
});

0 commit comments

Comments
 (0)