Skip to content

chore: Add validation for names input type in POST /hello endpoint #10

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

Closed
wants to merge 1 commit into from

Conversation

jplck
Copy link
Collaborator

@jplck jplck commented Jun 27, 2024

This pull request includes a change to the app/api.js file, specifically within the describe('POST /hello', () => { block. A new test has been added to validate the input type for names. This test ensures that if an invalid type is provided for the names input, the API will return a 400 error with an appropriate message.

@jplck jplck linked an issue Jun 27, 2024 that may be closed by this pull request
Closed
@jplck jplck closed this Jun 27, 2024
@jkordick jkordick deleted the 9-test branch January 15, 2025 14:02
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.

test
1 participant