fynnfluegge / fynnfluegge/rocketnotes

feat(lambda-get-document-tree-handler): add Unit test

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
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-tree-handler](https://github.com/fynnfluegge/rocketnotes/tree/main/lambda-handler/get-document-tree-handler). See this [guide](https://adityarama1210.medium.com/golang-mocking-a-function-for-unit-testing-497b43ad3409) how to mock DynamoDB methods.

Contributor guide

Open the contributing guide

Research direction

Open the lambda-handler/get-document-tree-handler directory and review the get-document-tree-handler implementation. Use the linked guide as a reference for mocking DynamoDB methods. Done means the handler has a unit test covering its DynamoDB interactions and the test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.