issues
search
holepunchto
/
hyperswarm
A distributed networking stack for connecting peers.
https://docs.holepunch.to
MIT License
1.04k
stars
84
forks
source link
improve test leave/bind functionality, create correct keys in tests [WIP]
#32
Closed
davidmarkclements
closed
2 years ago
davidmarkclements
commented
5 years ago
tests the leave -> bind -> error path (gets 100% cov for swarm.js)
alters error path to not return early unless network.discovery is not present (a bind error might not mean that topics can't be left)
fixes keys in swarm.main.test.js to always be 32 bytes