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

Commit fdb4998

Browse files
committed
fix: we cant rely on error messages yet, not standardized
1 parent 814041b commit fdb4998

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

js/src/ping/ping-pull-stream.js

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ module.exports = (createCommon, options) => {
7979
ipfsA.pingPullStream(invalidPeerId, { count }),
8080
pull.collect((err, results) => {
8181
expect(err).to.exist()
82-
expect(err.message).to.include('failed to parse peer address')
8382
done()
8483
})
8584
)

js/src/ping/ping-readable-stream.js

-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ module.exports = (createCommon, options) => {
9595
}),
9696
(err) => {
9797
expect(err).to.exist()
98-
expect(err.message).to.include('failed to parse peer address')
9998
done()
10099
}
101100
)

js/src/ping/ping.js

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ module.exports = (createCommon, options) => {
6666
const count = 2
6767
ipfsA.ping(invalidPeerId, { count }, (err, responses) => {
6868
expect(err).to.exist()
69-
expect(err.message).to.include('failed to parse peer address')
7069
expect(responses).to.not.exist()
7170
done()
7271
})

0 commit comments

Comments
 (0)