We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Goal Reduce tests boilerplate code
Description Reduce tests boilerplate code by using the post method in https://github.com/pets-oss/pets-back/blob/main/test/utils/requests.ts
post
Example of such usage
pets-back/test/animal.graphql.test.ts
Lines 51 to 66 in a6e54b2
Bonus It would be great to abstract and hide the error logging code from the main test logic
if (err) { // eslint-disable-next-line no-console console.log(res.body); return done(err); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Goal
Reduce tests boilerplate code
Description
Reduce tests boilerplate code by using the
post
method in https://github.com/pets-oss/pets-back/blob/main/test/utils/requests.tsExample of such usage
pets-back/test/animal.graphql.test.ts
Lines 51 to 66 in a6e54b2
Bonus
It would be great to abstract and hide the error logging code from the main test logic
The text was updated successfully, but these errors were encountered: