Skip to content

Conversation

@corbinu
Copy link
Contributor

@corbinu corbinu commented May 1, 2017

Addresses #700 by adding a new test for a resolving promise and then updating the runner to ignore resolved values. Let me know if there are any changes you want me to make :)

lib/runner.js Outdated
itemResult.then instanceof Function) {

itemResult.then(done, done);
itemResult.then(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just itemResult.then(() => done(), done).

@Marsup Marsup added the bug Bug or defect label May 1, 2017
@corbinu
Copy link
Contributor Author

corbinu commented May 1, 2017

@Marsup Your suggested change seems to have caused 2 other tests to fail. Thoughts?

@Marsup
Copy link
Contributor

Marsup commented May 1, 2017

Your change doesn't look remotely similar to my suggestion :)

@Marsup
Copy link
Contributor

Marsup commented May 1, 2017

Thanks ! I'll let @geek merge and release as it's not mine to make.

@geek geek added this to the 13.0.4 milestone May 1, 2017
@geek geek self-assigned this May 1, 2017
@geek geek merged commit f89a574 into hapijs:master May 1, 2017
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants