sls-test-tools
sls-test-tools copied to clipboard
Custom Jest Assertions for Serverless integration testing.
I'm thinking of adding some Cognito utilities: * `checkUserExists` * `checkUserStatusEquals` ... Would you like to have this added?
If the table you are testing on does not have a partition key of 'PK' (i.e. instead of 'pk') or does not have a sort key of 'SK' an error...
When we try to use the dynamodb toContainItemWithValues matcher in the spec file its throwing an error saying matcher not found. Example: **expect(tableName).toContainItemWithValues({pk:'ATTACH#1234567', sk: 'ATTACH#1234567', filename: 'test.png'}) Error: Property toContainItemWithValues...
This PR adds an optional second parameter to the `EventBridge.build` and `StepFunctions.build` methods, which allows the caller to specify AWS service client configuration. This permits a user to override the...
## Background I had one small issue when integrating `sls-test-tools` into an integration test pack. When running the test spec against a stack I was getting the following error: Background...
Hi :) When calling the `getEvents` and that no message is present in the queue (because no events made is to EventBridge), instead of returning an empty array, or throwing...
Hi, I'd like to use this library with [Localstack](https://localstack.cloud) to avoid deploying to a real AWS account. Doing so would require overriding the `endpoint` config option for the AWS SDK,...