Skip to content

Commit 0df4118

Browse files
committed
test: update version check for sharded cluster transactions to include MongoDB <= 4.2
1 parent 13bda33 commit 0df4118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/transactions/transactions.prose.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('Transactions Spec Prose', function () {
1515

1616
beforeEach(async function () {
1717
if (
18-
semver.satisfies(this.configuration.version, '>4.2') &&
18+
semver.satisfies(this.configuration.version, '<=4.2') &&
1919
this.configuration.topologyType === 'Sharded'
2020
) {
2121
if (this.currentTest) {

0 commit comments

Comments
 (0)