Merge pull request #40 from libp2p/fix/last-base-test

fix: when things are in the same process, there is a order to them :)
This commit is contained in:
David Dias 2017-01-24 09:28:55 +00:00 committed by GitHub
commit 066be11d66

View File

@ -116,12 +116,12 @@ module.exports = (common) => {
})
)
dialer.on('stream', onDialerStream)
const listenerConn = listener.newStream((err) => {
expect(err).to.not.exist.mark()
})
dialer.on('stream', onDialerStream)
pull(
pull.values(['hello']),
listenerConn