mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-26 19:12:15 +00:00
stats: tests: bind to localhost only
This commit is contained in:
parent
2c04a71007
commit
4527d5fff1
@ -9,7 +9,7 @@ const createNode = require('./utils/node').createNode
|
|||||||
|
|
||||||
describe('libp2p', (done) => {
|
describe('libp2p', (done) => {
|
||||||
it('has stats', () => {
|
it('has stats', () => {
|
||||||
createNode('/ip4/0.0.0.0/tcp/0', {
|
createNode('/ip4/127.0.0.1/tcp/0', {
|
||||||
mdns: false,
|
mdns: false,
|
||||||
dht: true
|
dht: true
|
||||||
}, (err, node) => {
|
}, (err, node) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user