From 488440418da6aa41522d05a3b8a09fd61926531d Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 7 Nov 2024 17:58:27 +0000 Subject: [PATCH] chore: fix linting --- packages/transport-tcp/package.json | 1 - packages/transport-tcp/test/listen-dial.spec.ts | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/transport-tcp/package.json b/packages/transport-tcp/package.json index 7db34a838c..b150733fe2 100644 --- a/packages/transport-tcp/package.json +++ b/packages/transport-tcp/package.json @@ -74,7 +74,6 @@ "devDependencies": { "@libp2p/logger": "^5.1.3", "aegir": "^44.0.1", - "it-pipe": "^3.0.1", "sinon": "^18.0.0", "sinon-ts": "^2.0.0", "wherearewe": "^2.0.1" diff --git a/packages/transport-tcp/test/listen-dial.spec.ts b/packages/transport-tcp/test/listen-dial.spec.ts index 054576a395..ff9d9dbed2 100644 --- a/packages/transport-tcp/test/listen-dial.spec.ts +++ b/packages/transport-tcp/test/listen-dial.spec.ts @@ -1,14 +1,12 @@ import os from 'os' import path from 'path' -import { AbortError } from '@libp2p/interface' import { defaultLogger } from '@libp2p/logger' import { multiaddr } from '@multiformats/multiaddr' import { expect } from 'aegir/chai' -import { pipe } from 'it-pipe' import pDefer from 'p-defer' import { stubInterface } from 'sinon-ts' import { tcp } from '../src/index.js' -import type { Connection, MultiaddrConnection, Transport, Upgrader } from '@libp2p/interface' +import type { Connection, Transport, Upgrader } from '@libp2p/interface' const isCI = process.env.CI