This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
http-api - get version test with js-ipfs-api fails **only** on Travis #70
Closed
Description
TEST
https://github.com/ipfs/js-ipfs/blob/master/tests/test-http-api/test-version.js#L38-L47
LOG
Debug: internal, implementation, error
AssertionError: expected [Error: Client request error: Parse Error] to not exist
at /home/travis/build/ipfs/js-ipfs/tests/test-http-api/test-version.js:40:27
at /home/travis/build/ipfs/js-ipfs/node_modules/ipfs-api/src/request-api.js:23:14
at finish (/home/travis/build/ipfs/js-ipfs/node_modules/wreck/lib/index.js:146:20)
at wrapped (/home/travis/build/ipfs/js-ipfs/node_modules/hoek/lib/index.js:867:20)
at ClientRequest.onError (/home/travis/build/ipfs/js-ipfs/node_modules/wreck/lib/index.js:155:16)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketOnData (_http_client.js:307:9)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at TCP.onread (net.js:523:20)