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

Commit

Permalink
fix: we cant rely on error messages yet, not standardized
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Oct 31, 2018
1 parent 814041b commit fdb4998
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion js/src/ping/ping-pull-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ module.exports = (createCommon, options) => {
ipfsA.pingPullStream(invalidPeerId, { count }),
pull.collect((err, results) => {
expect(err).to.exist()
expect(err.message).to.include('failed to parse peer address')
done()
})
)
Expand Down
1 change: 0 additions & 1 deletion js/src/ping/ping-readable-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ module.exports = (createCommon, options) => {
}),
(err) => {
expect(err).to.exist()
expect(err.message).to.include('failed to parse peer address')
done()
}
)
Expand Down
1 change: 0 additions & 1 deletion js/src/ping/ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ module.exports = (createCommon, options) => {
const count = 2
ipfsA.ping(invalidPeerId, { count }, (err, responses) => {
expect(err).to.exist()
expect(err.message).to.include('failed to parse peer address')
expect(responses).to.not.exist()
done()
})
Expand Down

0 comments on commit fdb4998

Please sign in to comment.