Skip to content

Commit

Permalink
fix wire protocol tests
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed May 22, 2023
1 parent f0a46ee commit a13a103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/assorted/wire_version.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { isHello } = require('../../../src/utils');

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

describe('Wire Protocol Version', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/cmap/wire_protocol/constants.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('Wire Protocol Constants', function () {

describe('MAX_SUPPORTED_WIRE_VERSION', function () {
it('returns 17', function () {
expect(MAX_SUPPORTED_WIRE_VERSION).to.equal(17);
expect(MAX_SUPPORTED_WIRE_VERSION).to.equal(21);
});
});
});

0 comments on commit a13a103

Please sign in to comment.