Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move .wrap from hapi #187

Closed
wants to merge 7 commits into from
Closed

move .wrap from hapi #187

wants to merge 7 commits into from

Conversation

catalint
Copy link
Contributor

Moving .wrap to hoek as proposed by @hueniverse & @Marsup

@@ -16,8 +16,8 @@
"lab": "10.x.x"
},
"scripts": {
"test": "lab -a code -t 100 -L",
"test-cov-html": "lab -a code -t 100 -L -r html -o coverage.html"
"test": "node node_modules/.bin/lab -a code -t 100 -L",
Copy link
Contributor

Choose a reason for hiding this comment

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

Those shouldn't be necessary.

@Marsup
Copy link
Contributor

Marsup commented Apr 26, 2016

2 things that bother me on this:

  • the name is vague, what about promiseWrap ?
  • indentations on thens are weird both in readme and test file

@catalint catalint mentioned this pull request Apr 26, 2016
@catalint
Copy link
Contributor Author

fixed but thinking about a solution for for #176 , changes will come

@@ -2535,3 +2535,64 @@ describe('shallow()', (done) => {
done();
});
});


describe('wrap()', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be changed to promiseWrap() too.

@nlf
Copy link
Member

nlf commented Jun 1, 2016

closing in favor of #188 since it's more flexible

@nlf nlf closed this Jun 1, 2016
@nlf nlf self-assigned this Jun 1, 2016
@nlf nlf added the request label Jun 1, 2016
@Marsup Marsup added feature New functionality or improvement and removed request labels Sep 21, 2019
@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
feature New functionality or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants