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

Test failures for files.read*Stream #8

Closed
alanshaw opened this issue Aug 6, 2018 · 0 comments · Fixed by #9
Closed

Test failures for files.read*Stream #8

alanshaw opened this issue Aug 6, 2018 · 0 comments · Fixed by #9

Comments

@alanshaw
Copy link

alanshaw commented Aug 6, 2018

Getting test failures in js-ipfs for the new files.read*Stream methods:

1) interface-ipfs-core tests .files.readReadableStream should not read not found, expect error:
   TypeError: stream.on is not a function
    at Context.it (node_modules/interface-ipfs-core/js/src/files/read-readable-stream.js:41:14)
    at process.topLevelDomainCallback (domain.js:121:23)

2) interface-ipfs-core tests .files.readReadableStream should read file:
   Error: Timeout of 40000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.


3) interface-ipfs-core tests .files.readPullStream should not read not found, expect error:
   TypeError: read is not a function
    at next (node_modules/pull-stream/sinks/drain.js:16:11)
    at sink (node_modules/pull-stream/sinks/drain.js:37:9)
    at pull (node_modules/pull-stream/pull.js:41:14)
    at Context.it (node_modules/interface-ipfs-core/js/src/files/read-pull-stream.js:40:7)
    at process.topLevelDomainCallback (domain.js:121:23)

4) interface-ipfs-core tests .files.readPullStream should read file:
   Error: Timeout of 40000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant