diff --git a/js/src/ping/ping-pull-stream.js b/js/src/ping/ping-pull-stream.js index dd38e872..dd9fd1f0 100644 --- a/js/src/ping/ping-pull-stream.js +++ b/js/src/ping/ping-pull-stream.js @@ -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() }) ) diff --git a/js/src/ping/ping-readable-stream.js b/js/src/ping/ping-readable-stream.js index e9950215..f2ef1e29 100644 --- a/js/src/ping/ping-readable-stream.js +++ b/js/src/ping/ping-readable-stream.js @@ -95,7 +95,6 @@ module.exports = (createCommon, options) => { }), (err) => { expect(err).to.exist() - expect(err.message).to.include('failed to parse peer address') done() } ) diff --git a/js/src/ping/ping.js b/js/src/ping/ping.js index 45ce45e6..844bdeab 100644 --- a/js/src/ping/ping.js +++ b/js/src/ping/ping.js @@ -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() })