From e7a4a55f1cfa26c1f5edd5a54f4510dcae6ac3f0 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Fri, 13 Sep 2024 11:00:19 +0200 Subject: [PATCH] test: windows --- test/interceptors/dns.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/interceptors/dns.js b/test/interceptors/dns.js index bca94757556..82d6b203d39 100644 --- a/test/interceptors/dns.js +++ b/test/interceptors/dns.js @@ -337,7 +337,15 @@ test('Should throw when on dual-stack disabled (6)', async t => { origin: 'http://localhost' }) - await t.rejects(promise, 'ECONNREFUSED') + // TODO: remove + await t.rejects( + promise.catch(err => { + console.log(err) + throw err + }), + 'ECONNREFUSED' + ) + // await t.rejects(promise, 'ECONNREFUSED') await t.complete })