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

specifies files.cat unknown file and dir errors #182

Merged
merged 2 commits into from
Dec 12, 2017
Merged

Conversation

pgte
Copy link
Contributor

@pgte pgte commented Dec 12, 2017

Added 2 specs for file.cat:

  • when the path is unknown
  • when the path is a dir

@ghost ghost assigned pgte Dec 12, 2017
@ghost ghost added the in progress label Dec 12, 2017
@pgte pgte changed the title WIP: specifies files.cat unknown file and dir errors specifies files.cat unknown file and dir errors Dec 12, 2017
Copy link
Contributor

@richardschneider richardschneider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the .only

src/files.js Outdated
@@ -431,6 +431,31 @@ module.exports = (common) => {
}
})
})

it.only('errors on unknown path', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should remove the .only and also on line 443

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@richardschneider sorry, forgot to push.

@daviddias
Copy link
Contributor

@pgte did you test this against js-ipfs and js-ipfs-api ?

@daviddias daviddias merged commit 14f942a into master Dec 12, 2017
@daviddias daviddias deleted the fix/cat-errors branch December 12, 2017 14:30
@ghost ghost removed the in progress label Dec 12, 2017
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 this pull request may close these issues.

3 participants