Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 442ea74

Browse files
committed
fix: remove superfluous console.logs
1 parent cfa5bd0 commit 442ea74

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/dht.js

-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ module.exports = (common) => {
8686

8787
describe('.findpeer', () => {
8888
it('finds other peers', (done) => {
89-
console.log(nodeC.peerId.id)
90-
9189
nodeA.dht.findpeer(nodeC.peerId.id, (err, peer) => {
9290
expect(err).to.not.exist()
9391
// TODO upgrade the answer, format is weird

src/swarm.js

-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ module.exports = (common) => {
218218
(cb) => {
219219
nodeA.swarm.peers((err, peers) => {
220220
expect(err).to.not.exist()
221-
peers.forEach((peer) => console.log(peer.addr.toString()))
222221
expect(peers).to.have.length(1)
223222
cb()
224223
})

0 commit comments

Comments
 (0)