Skip to content

Commit 8886a4a

Browse files
committed
lint
1 parent eb1a16d commit 8886a4a

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

test/integration/change-streams/change_streams.spec.test.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ import { runUnifiedSuite } from '../../tools/unified-spec-runner/runner';
66

77
// TODO: NODE-7559 - remove once spec tests are compatible with MongoDB 9.0
88
describe('Change Streams Spec - Unified', function () {
9-
runUnifiedSuite(
10-
loadSpecTests(path.join('change-streams', 'unified')),
11-
(_test, ctx) =>
12-
gte(ctx.version, '9.0.0')
13-
? 'TODO(NODE-7559): change stream spec tests not yet compatible with MongoDB >= 9.0'
14-
: false
9+
runUnifiedSuite(loadSpecTests(path.join('change-streams', 'unified')), (_test, ctx) =>
10+
gte(ctx.version, '9.0.0')
11+
? 'TODO(NODE-7559): change stream spec tests not yet compatible with MongoDB >= 9.0'
12+
: false
1513
);
1614
});

test/tools/runner/filters/mongodb_version_filter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export class MongoDBVersionFilter extends Filter {
3535
if (!test.metadata.requires.mongodb) return true;
3636
if (typeof this.version !== 'string') throw new Error('expected version string!');
3737
const isVersionCompatible = semver.satisfies(this.version, test.metadata.requires.mongodb);
38-
console.log(`Checking mongodb version requirement ${test.metadata.requires.mongodb} against version ${this.version}, result: ${isVersionCompatible}`);
3938
return isVersionCompatible;
4039
}
4140
}

0 commit comments

Comments
 (0)