You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this module support passing a readable stream to mock S3 instead of passing a callback?
Example:
constfileDirectory=path.join(__dirname,'./test_fixtures/archive.tar.gz');AWSMock.mock('S3','getObject',fs.createReadStream(fileDirectory));constreadStream=s3.getObject().createReadStream().pipe(process.stdout);// should print the contents of archive.tar.gz
The text was updated successfully, but these errors were encountered:
Does this module support passing a readable stream to mock S3 instead of passing a callback?
Example:
The text was updated successfully, but these errors were encountered: