Skip to content

Commit

Permalink
fix: mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Dec 20, 2024
1 parent d7d23d3 commit cec830f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yarn-project/p2p/src/services/peer_manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,7 @@ describe('PeerManager', () => {
});

it('should properly clean up peers on stop', async () => {
const enr = await createMockENR();
await discoveredPeerCallback(enr);
mockLibP2PNode.getPeers.mockReturnValue([await createSecp256k1PeerId(), await createSecp256k1PeerId()]);

await peerManager.stop();

Expand Down

0 comments on commit cec830f

Please sign in to comment.