Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #40 from libp2p/fix/last-base-test
Browse files Browse the repository at this point in the history
fix: when things are in the same process, there is a order to them :)
  • Loading branch information
daviddias authored Jan 24, 2017
2 parents 4160c6a + 1635977 commit 066be11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 066be11

Please sign in to comment.