Skip to content

Create automated test for POST / #1

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
levino opened this issue Jun 20, 2018 · 2 comments
Closed

Create automated test for POST / #1

levino opened this issue Jun 20, 2018 · 2 comments

Comments

@levino
Copy link
Contributor

levino commented Jun 20, 2018

Please create a test for a POST to the root. I am not willing to checkout this repo, start the app and then use postman to post something to the endpoint. I am however willing to checkout the repo and run npm test to reproduce your problem.

Context

@levino
Copy link
Contributor Author

levino commented Jun 20, 2018

As a hint: supertest is very nice for this.

@tomo1026j
Copy link
Collaborator

Thanks for your information.
I created simple test code.

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

No branches or pull requests

2 participants