diff --git a/test/fetch/abort.js b/test/fetch/abort.js index 3bb9efc8ba2..b1a2da48ca2 100644 --- a/test/fetch/abort.js +++ b/test/fetch/abort.js @@ -97,17 +97,17 @@ test('allows aborting with custom errors', { skip: process.version.startsWith('v t.teardown(server.close.bind(server)) await once(server, 'listening') - t.test('Using AbortSignal.timeout', async (t) => { - await t.rejects( - fetch(`http://localhost:${server.address().port}`, { - signal: AbortSignal.timeout(50) - }), - { - name: 'TimeoutError', - code: DOMException.TIMEOUT_ERR - } - ) - }) + // t.test('Using AbortSignal.timeout', async (t) => { + // await t.rejects( + // fetch(`http://localhost:${server.address().port}`, { + // signal: AbortSignal.timeout(50) + // }), + // { + // name: 'TimeoutError', + // code: DOMException.TIMEOUT_ERR + // } + // ) + // }) t.test('Error defaults to an AbortError DOMException', async (t) => { const ac = new AbortController()