-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add unit test for the Fastify API #6
Conversation
|
Let's add unit test for app.ts |
🚀 Wrote Changes
Hi @jellydn, I decided to make the following changes:
|
Also add a GitHub action for unit tests. |
🚀 Wrote Changes
Hi @jellydn, I decided to make the following changes:
|
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests. |
🚀 Wrote Changes
Hi @sweep-ai[bot], I decided to make the following changes:
|
GitHub actions yielded the following error. The command that failed is
Please note that the log file mentioned at the end ( There are a lot of errors. This is likely due to a small parsing issue or a missing import with the files changed in the PR. This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests. I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR. |
.github/workflows/unit-tests.yml
Outdated
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js |
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.
Let's write github action with bun instead of nodejs.
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.
Done.
GitHub actions yielded the following error. The command that failed is
Please note that the logs indicate that the There are a lot of errors. This is likely due to a small parsing issue or a missing import with the files changed in the PR. This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests. I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR. |
PR Feedback: 👎
Description
This PR adds a unit test for the Fastify API in the stepci-demo repository. The unit test ensures the correctness and functionality of the API endpoints.
Summary of Changes
Please review and merge this PR to add unit testing support for the Fastify API.
Fixes #5.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: