Skip to content

Commit

Permalink
remove unneeded emit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Aug 20, 2021
1 parent 63afbc1 commit 2ca7ab1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/client/test/sync/fullsync.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down
1 change: 0 additions & 1 deletion packages/client/test/sync/lightsync.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 2ca7ab1

Please sign in to comment.