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

fix(config): make promise tests actually test the full promise chain #110

Merged
merged 1 commit into from
Jan 17, 2017

Conversation

daviddias
Copy link
Contributor

all we need for js-ipfs 0.21:)

})
.catch((err) => expect(err).to.not.exist)
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't need the catch here since we're returning the promise so mocha should automatically catch any errors.

Copy link
Contributor Author

@daviddias daviddias Jan 17, 2017

Choose a reason for hiding this comment

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

right, thank you :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed :)

@daviddias
Copy link
Contributor Author

Thank you for the CR @victorbjelkholm :)

@daviddias daviddias merged commit d40126c into master Jan 17, 2017
@daviddias daviddias deleted the fix/tests branch January 17, 2017 11:52
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.

2 participants