I am looking thro the consumer sns example code. <...
# pactflow
l
I am looking thro the consumer sns example code. https://docs.pactflow.io/docs/examples/aws/sns/consumer, is it becos I am using the lambda handler so I need to setup/install the SAM? I notice this script at the package.json
Copy code
"test:integration": "sam local invoke ProductEventHandler --event  ./__tests__/events/update.json",
this is to trigger the event to update to the SNS topics? this is different from running yarn test which is to generate the pact file? docs.pactflow.io Example NodeJS AWS SNS Consumer | PactFlow Documentation Source Code
m
This is unrelated to the pact test, but shows how you can do local integation testing of the lambda
l
I see. got it!