api
api copied to clipboard
Testing: Add E2E smoke test
Type of feature
🍕 Feature
Current behavior
We need a smoke test to make sure the API doesn't produce a runtime error that isn't caught during the build
https://docs.nestjs.com/fundamentals/testing#end-to-end-testing
We can set up some environment variables to connect to our development database and use an open API endpoint to do a smoke test that its running and able to handle a request. In the future we can expand this to more tests.
Suggested solution
- Add environment variables to the development database to run within CI
- Set up and E2E test suite with Jest
- Add a test for hitting the
/v1/repos
endpoint and getting back results
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributing Docs
- [ ] I agree to follow this project's Contribution Docs