File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
tests/functional/aws-node-sdk/test/bucket Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,10 @@ describe('PUT bucket logging', () => {
9696 Bucket : bucketName ,
9797 BucketLoggingStatus : validLoggingConfig ,
9898 } ) )
99- . then ( ( ) => {
99+ . then ( ( ) =>
100100 // Verify the config was set by getting it back
101- return s3 . send ( new GetBucketLoggingCommand ( { Bucket : bucketName } ) ) ;
102- } )
101+ s3 . send ( new GetBucketLoggingCommand ( { Bucket : bucketName } ) )
102+ )
103103 . then ( data => {
104104 assert ( data . LoggingEnabled ) ;
105105 assert . strictEqual ( data . LoggingEnabled . TargetBucket ,
@@ -121,10 +121,10 @@ describe('PUT bucket logging', () => {
121121 Bucket : bucketName ,
122122 BucketLoggingStatus : validLoggingConfig ,
123123 } ) )
124- . then ( ( ) => {
124+ . then ( ( ) =>
125125 // Verify it was enabled
126- return s3 . send ( new GetBucketLoggingCommand ( { Bucket : bucketName } ) ) ;
127- } )
126+ s3 . send ( new GetBucketLoggingCommand ( { Bucket : bucketName } ) )
127+ )
128128 . then ( data => {
129129 assert ( data . LoggingEnabled ) ;
130130 // Now disable logging
@@ -133,10 +133,10 @@ describe('PUT bucket logging', () => {
133133 BucketLoggingStatus : { } ,
134134 } ) ) ;
135135 } )
136- . then ( ( ) => {
136+ . then ( ( ) =>
137137 // Verify it was disabled
138- return s3 . send ( new GetBucketLoggingCommand ( { Bucket : bucketName } ) ) ;
139- } )
138+ s3 . send ( new GetBucketLoggingCommand ( { Bucket : bucketName } ) )
139+ )
140140 . then ( data => {
141141 assert ( data ) ;
142142 assert . deepStrictEqual ( data . $metadata . httpStatusCode , 200 ) ;
You can’t perform that action at this time.
0 commit comments