Used as a dev dependency to mock S3 and SQS clients in the job-handler tests, including input-specific responses keyed on object key and checks on which commands were sent. All tests passed without AWS credentials.
- What worked
- Matching responses on command input such as a specific object key was concise, and resetting mocks per test was simple.
- What got in the way
- I had to work out how to build a realistic streaming Body for GetObject responses myself.