I like this package and want to use it, but after playing about with it I cannot get it to work with any of Jest's toHaveBeenCalled() assertions.
Rather than just testing return data, I want to test that the actual functions have been called. I can do this with my own mock of the AWS-SDK but using this pre-made one would save me considerable time. Something like this:
I like this package and want to use it, but after playing about with it I cannot get it to work with any of Jest's
toHaveBeenCalled()
assertions.Rather than just testing return data, I want to test that the actual functions have been called. I can do this with my own mock of the AWS-SDK but using this pre-made one would save me considerable time. Something like this:
Is this possible? If it is, and you can demo it to me, I will happily add to the README and submit a PR.