feat: filter IPFS addrs correctly (#62)

* feat: dns support for WS

* fix: address parsing

* feat: filter IPFS addrs correctly

* fix: remove lodash includes dependency

* feat: mafmt addrs now support /ipfs no need for ad-hoc filtering

* feat: skip p2p-circuit addresses

* chore: updating ci files

* chore: upgrading to new aegir

* test: pass the no-parallel flag to tests

* wip

* test: removing global timeout and setting it on a specific test

* feat: resolve 0 addresses (#64)

* feat: resolve 0 addresses

* chore: upgrading pull-ws

* chore: update circle CI

* chore: update gitignore

* chore: update deps

* chore: update CI again

* test: fix node.js tests

* test: fix browser tests

* chore
This commit is contained in:
Dmitriy Ryajov
2017-10-20 04:12:35 -07:00
committed by David Dias
parent 3d3cdf1c1e
commit 9ddff85601
8 changed files with 128 additions and 46 deletions

View File

@ -13,7 +13,7 @@ const goodbye = require('pull-goodbye')
const WS = require('../src')
describe('libp2p-websockets', () => {
const ma = multiaddr('/ip4/127.0.0.1/tcp/9090/ws')
const ma = multiaddr('/ip4/127.0.0.1/tcp/9095/ws')
let ws
let conn
@ -56,7 +56,8 @@ describe('libp2p-websockets', () => {
pull(s, conn, s)
})
it('many writes', (done) => {
it('many writes', function (done) {
this.timeout(10000)
const s = goodbye({
source: pull(
pull.infinite(),