From 2ca7ab1be25b23fa9438507543b43ee2470a31f7 Mon Sep 17 00:00:00 2001 From: Ryan Ghods Date: Fri, 20 Aug 2021 15:04:21 -0700 Subject: [PATCH] remove unneeded emit --- packages/client/test/sync/fullsync.spec.ts | 1 - packages/client/test/sync/lightsync.spec.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/client/test/sync/fullsync.spec.ts b/packages/client/test/sync/fullsync.spec.ts index e926047e691..2be38b367fd 100644 --- a/packages/client/test/sync/fullsync.spec.ts +++ b/packages/client/test/sync/fullsync.spec.ts @@ -26,7 +26,6 @@ tape('[FullSynchronizer]', async (t) => { const pool = new PeerPool() as any const chain = new Chain({ config }) const sync = new FullSynchronizer({ config, pool, chain }) - pool.emit('added', { eth: true }) t.equals(sync.type, 'full', 'full type') t.end() }) diff --git a/packages/client/test/sync/lightsync.spec.ts b/packages/client/test/sync/lightsync.spec.ts index 8d364a68f24..04589281588 100644 --- a/packages/client/test/sync/lightsync.spec.ts +++ b/packages/client/test/sync/lightsync.spec.ts @@ -26,7 +26,6 @@ tape('[LightSynchronizer]', async (t) => { const pool = new PeerPool() as any const chain = new Chain({ config }) const sync = new LightSynchronizer({ config, pool, chain }) - pool.emit('added', { les: { status: { serveHeaders: true } } }) t.equals(sync.type, 'light', 'light type') t.end() })