-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
sample(sample/10): add unit and e2e tests for 10-fastify #15873
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
base: master
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 0dfa1dfb-2666-4601-b521-80558e1a8704Details
💛 - Coveralls |
fix(sample/10): fix id generation and controller return values - fix bug in CatsService (id generation) - fix multiple bugs in CatsController (no return, @res() usage) feat(sample/10): add full test coverage - add complete unit test suite for CatsService - add complete e2e test suite for CatsController - add Jest config and dependencies to the sample Fixes nestjs#1539
dc3f333 to
cb9dfd8
Compare
|
hi. it's being a couple of days and i'd like to know if there's an issue with my request. please let me know so i can fix it and align with the ideal. |
|
Could you please resolve merge conflicts? |
Co-authored-by: Micael Levi L. Cavalcante <[email protected]>
|
I'm working on it. will push once done. thanks for the review. |
…rrors and reinstalled @types/jest dev dependency
|
I have fixed the configuration issue. tsconfig.json wasn't explicitly loading the jest types, so the compiler didn't see them even though the tests ran fine. I have updated tsconfig.json and also installed @types/jest, so the errors are now gone. |

fix(sample/10): fix id generation and controller return values
feat(sample/10): add full test coverage
Fixes #1539
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information