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'); } });