diff --git a/test/unit/connection_string.spec.test.ts b/test/unit/connection_string.spec.test.ts index 213b2101c9..6fb0aba7c3 100644 --- a/test/unit/connection_string.spec.test.ts +++ b/test/unit/connection_string.spec.test.ts @@ -1,5 +1,3 @@ -import { satisfies } from 'semver'; - import { loadSpecTests } from '../spec'; import { executeUriValidationTest } from '../tools/uri_spec_runner'; @@ -11,22 +9,6 @@ const skipTests = [ describe('Connection String spec tests', function () { const suites = loadSpecTests('connection-string'); - beforeEach(function () { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const test = this.currentTest!; - - const skippedTests = [ - 'Invalid port (zero) with IP literal', - 'Invalid port (zero) with hostname' - ]; - test.skipReason = - satisfies(process.version, '>=20.0.0') && skippedTests.includes(test.title) - ? 'TODO(NODE-5666): fix failing unit tests on Node20+' - : undefined; - - if (test.skipReason) this.skip(); - }); - for (const suite of suites) { describe(suite.name, function () { for (const test of suite.tests) {