-
Notifications
You must be signed in to change notification settings - Fork 818
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
Improve validation #3633
Improve validation #3633
Conversation
Size Change: -6 B (0%) Total Size: 4.78 MB ℹ️ View Unchanged
|
@@ -14,7 +10,8 @@ describe('Job Schema Validation', () => { | |||
}; | |||
const res: any = {}; | |||
const next = jest.fn(); | |||
jobValidate(req, res, next); | |||
const van = validate({ params: jobSchema }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question not a request for change, why is it 'van'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ha, just a terrible variable name. I'll update it to something less random.
Love this |
/sentences/?count=<number>
endpoint