Skip to content
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

Testing DDB calls in custom module without modifying code? #115

Open
paul-uz opened this issue Oct 6, 2021 · 1 comment
Open

Testing DDB calls in custom module without modifying code? #115

paul-uz opened this issue Oct 6, 2021 · 1 comment

Comments

@paul-uz
Copy link

paul-uz commented Oct 6, 2021

In the example code, and my own tests based on the example provided, I had to add new code to my DDB wrapper class, such as the JEST_WORKER_ID env var, and the config for the DDB client.

Is there a "neater" way of doing this, where I don't have to modify my actual code?

@vladholubiev
Copy link
Member

I'm not aware of a more elegant solution for now. If you happen to find a neater way - happy to describe it in the readme!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants