Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fix peerScore test
  • Loading branch information
wemeetagain committed Jun 7, 2020
commit 88480ec412e820ee8c546ce3305a36be3d3584f3
2 changes: 1 addition & 1 deletion test/peerScore.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('PeerScore', () => {
}

ps._refreshScores()
aScore = ps.score(peerA)
const aScore = ps.score(peerA)
expect(aScore).to.be.equal(
tparams.topicWeight * tparams.firstMessageDeliveriesWeight * nMessages * tparams.firstMessageDeliveriesDecay
)
Expand Down