From 089af24e09500b4efbf582d1657054f64dec88aa Mon Sep 17 00:00:00 2001 From: jpuh Date: Fri, 3 Jan 2025 11:21:28 +0000 Subject: [PATCH] Update supported node versions on unit tests --- .github/workflows/tests.yaml | 2 +- test/client_test.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index badc0c1..6bd2f47 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 7, 8, 10, 12, 14, 16, 18 ] + node: [ 18, 20, 22, 23 ] name: Node ${{ matrix.node }} steps: - name: Checkout diff --git a/test/client_test.js b/test/client_test.js index 55a5225..04cac02 100644 --- a/test/client_test.js +++ b/test/client_test.js @@ -130,7 +130,6 @@ describe('Client', () => { should.fail(); } catch (e) { should(e).be.an.instanceOf(Error); - should(e.message).match(/connect ECONNREFUSED/); should(e.code).equal('ECONNREFUSED'); } });