DEV Community

Rita {FlyNerd} Lyczywek
Rita {FlyNerd} Lyczywek

Posted on • Updated on

How to mock AWS SDK with Jest

Liquid syntax error: 'raw' tag was never closed

Top comments (2)

Collapse
 
danielransome profile image
danielransome

Hi Rita, this was a real help, thanks! Mocking AWS has been quite a headache for me. I found aws-sdk-client-mock to be a really helpful lib but I don't think it works in this scenario and I've ended up mocking as per your example code.

Collapse
 
ritaly profile image
Rita {FlyNerd} Lyczywek

great to see I could help!