Is it possible to set the SQS consumer queue to LocalStack? #361
-
I would like to be able to run integration tests using SQS consumer and a LocalStack SQS queue like so
but I will get an error like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is yes! You'll need to configure an SQS Client as well, like so: https://github.com/bbc/sqs-consumer/blob/main/test/features/utils/consumer/handleMessage.js Which imports this from the file
|
Beta Was this translation helpful? Give feedback.
It is yes!
You'll need to configure an SQS Client as well, like so:
https://github.com/bbc/sqs-consumer/blob/main/test/features/utils/consumer/handleMessage.js
Which imports this from the file
../sqs
: