mock-aws-sdk-js
mock-aws-sdk-js copied to clipboard
added extra argument to stub method
added extra argument to stub method as some AWS sdk methods take more than 2 arguments e.g waitFor(state, params = {}, callback)
Thanks for this contribution! Could you please add a test that confirms that the functionality works as intended? As an example, you could build a test similar to this one, but stub waitFor and use 3 args:
https://github.com/mapbox/mock-aws-sdk-js/blob/041b5d50e2acdaded9586ad2534b7bc25a640d94/test/index.test.js#L31-L49