Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bound parameters (default options) are specified differently from real AWS.S3 sdk #18

Closed
irothschild opened this issue Oct 13, 2015 · 1 comment

Comments

@irothschild
Copy link
Contributor

I noticed that the real S3 sdk takes the bound parameters (default options) in the "params" key:

var s3bucket = new AWS.S3({ params: {Bucket: 'myBucket'} });

(see http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-services.html#Bound_Parameters)

The mock s3 has them at the top level:

var s3 = AWSMock.S3({
    Bucket: '/tmp/example'
});
@MathieuLoutre
Copy link
Owner

Fixed in #17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants