Thorsten Hoeger
Thorsten Hoeger
Can you elaborate on what kind of examples you need? Maybe create a PR with some user code and I will try to write the tests for it.
I will have a look at it. Is there a special reason you do not use the promise() method of the AWS client objects instead of creating your own Promises?...
You have to call AWSMock.mock BEFORE instantiating the client object. So you cannot do `const dynamodb = new AWS.DynamoDB();` and then mock it afterwards.
I think the problem is, that you restore the mock before the test function is called, as this is done asynchronously. Does your test framework support before and after methods?...
@eladb please reopen
@eladb please reopen
If somebody from the community wants to pick it up, that is exactly what https://www.open-constructs.org/ is for.
Is this still relevant? Why do you want to scope it?