From cd73e9bf86c79e1e587c1e6c222a339c025b2caa Mon Sep 17 00:00:00 2001 From: Alex Anderson <191496+alxndrsn@users.noreply.github.com> Date: Wed, 5 Jun 2024 18:51:34 +0300 Subject: [PATCH] pg-native/test: remove unused "done" arg from describe() calls (#3242) Co-authored-by: alxndrsn --- packages/pg-native/test/domains.js | 2 +- packages/pg-native/test/query-sync.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/pg-native/test/domains.js b/packages/pg-native/test/domains.js index 67254baea..90ae4d58e 100644 --- a/packages/pg-native/test/domains.js +++ b/packages/pg-native/test/domains.js @@ -6,7 +6,7 @@ var checkDomain = function (domain, when) { assert.strictEqual(process.domain, domain, 'Domain switched after ' + when) } -describe('domains', function (done) { +describe('domains', function () { it('remains bound after a query', function (done) { var domain = require('domain').create() // eslint-disable-line domain.run(function () { diff --git a/packages/pg-native/test/query-sync.js b/packages/pg-native/test/query-sync.js index f7a0ad0ba..7bd86d8c6 100644 --- a/packages/pg-native/test/query-sync.js +++ b/packages/pg-native/test/query-sync.js @@ -1,7 +1,7 @@ var Client = require('../') var assert = require('assert') -describe('query sync', function (done) { +describe('query sync', function () { before(function () { this.client = Client() this.client.connectSync()