diff --git a/test/node.js b/test/node.js index 48b892a..abd1f15 100644 --- a/test/node.js +++ b/test/node.js @@ -237,20 +237,6 @@ describe('dial', () => { throw new Error('connection was not aborted') }) - - it('should be abortable before connect', async () => { - const controller = new AbortController() - controller.abort() // Abort before connect - - try { - await ws.dial(ma, { signal: controller.signal }) - } catch (err) { - expect(err.type).to.equal('aborted') - return - } - - throw new Error('connection was not aborted') - }) }) // TODO: https://github.com/libp2p/js-libp2p-websockets/issues/84