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

Test failures for files.read*Stream #8

Closed
@alanshaw

Description

@alanshaw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions