From aa83d68f8958c4cc2684d35b2f6724afa5904adc Mon Sep 17 00:00:00 2001 From: Patrick Juchli Date: Fri, 5 May 2023 10:12:17 +0200 Subject: [PATCH] Handle potential AggregateError instead of Error in test --- test/connectivitySpec.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/connectivitySpec.js b/test/connectivitySpec.js index 1122de4..692b66d 100644 --- a/test/connectivitySpec.js +++ b/test/connectivitySpec.js @@ -46,7 +46,6 @@ describe("Connectivity", function() { return assert.rejects(() => this.client.access({ port: 111 }), { - name: "Error", code: "ECONNREFUSED" }) })