dwyl/aws-sdk-mock

Can not mock SQS

ta3113ta opened this issue · 3 comments

The same problem Here
wondering why cannot mock it

@ta3113ta || @jolo-dev could you please give us some sample usage/code so we know what you have attempted. Thanks.

@ta3113ta the issue reported in the StackOverflow question was caused by the fact the OP had initialised the SQS service outside of the handler function. I have added a detailed answer on the question you linked.

@thomaux Thank you, but it doesn't work well with jest