fynnfluegge / fynnfluegge/rocketnotes
feat(lambda-get-document-handler): add Unit test
Open
effort medium
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
Add a Unit test for [get-document-handler](https://github.com/fynnfluegge/rocketnotes/tree/main/lambda-handler/get-document-handler). See this [guide](https://adityarama1210.medium.com/golang-mocking-a-function-for-unit-testing-497b43ad3409) how to mock DynamoDB methods.
Contributor guide
Research direction
Start in lambda-handler/get-document-handler and read the handler flow to identify the DynamoDB methods it calls. Use the linked mocking guide as reference for isolating those methods, then add unit-test coverage for the handler and verify the tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- backend, cloud, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100