Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Commit

Permalink
test: always use Connection instances for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Jan 7, 2018
1 parent 74f6fd8 commit 4d4163d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/secio.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe('secio', () => {
}

// we are using peerC Id on purpose to fail
secio.encrypt(peerA, p[0], peerC, check)
secio.encrypt(peerB, p[1], peerA, check)
secio.encrypt(peerA, new Connection(p[0]), peerC, check)
secio.encrypt(peerB, new Connection(p[1]), peerA, check)
})
})

0 comments on commit 4d4163d

Please sign in to comment.