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

Create handler test file and test promise cases #346

Merged
merged 6 commits into from Mar 28, 2018

Conversation

fmiras
Copy link
Contributor

@fmiras fmiras commented Mar 8, 2018

This PR solves #338. We should test also that handler exits process with code 1 when non-valid objects are received or if a non-function or object value is received at all.

@timneutkens
Copy link
Member

Please make sure the coverage stays the same 🙏

@@ -80,6 +80,21 @@
"arrify": "1.0.1"
Copy link
Member

Choose a reason for hiding this comment

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

lets remove the package-lock.json

Copy link
Member

@timneutkens timneutkens left a comment

Choose a reason for hiding this comment

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

Looks great, thank you @fmiras!

@leo leo merged commit 888b46e into vercel:master Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants