Open gbbayareametro opened 5 months ago
I don't see any type errors with your snippets and latest dependency versions:
"@aws-sdk/client-s3": "3.654.0",
"@smithy/util-stream": "3.1.8",
"@smithy/types": "3.4.2",
"aws-sdk-client-mock": "4.0.1",
"typescript": "5.6.2"
Please update dependencies and if problem remains, please create a small repo with proper reproduction. It should be possible to run:
npm install
tsc
to see the error.
Checklist
Bug description
Mocking getting an excel workbook from an S3 bucket. The functionality I'm testing is going to be in a NodeJS lambda.
Here's the code I'm testing:
Here's my test (No real tests yet because I'm blocked trying to get the mock going):
I'm getting this error:
Here's the output of 'npm ls' indicating that I only have the latest version of @smithy/types installed:
Any help resolving the error would be appreciated.
Reproduction
Environment