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
Copy file name to clipboardExpand all lines: rush-plugins/rush-amazon-s3-build-cache-plugin/src/test/__snapshots__/AmazonS3Client.test.ts.snap
+144
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,54 @@ Array [
116
116
117
117
exports[`AmazonS3Client Making requests Getting an object With credentials Handles an unexpected error 2`] =`[Error: Amazon S3 responded with status code 500 (Server Error)]`;
118
118
119
+
exports[`AmazonS3Client Making requests Getting an object With credentials Retries on 400 error 1`] =`
exports[`AmazonS3Client Making requests Getting an object With credentials Retries on 400 error 2`] =`[Error: Amazon S3 responded with status code 400 (Bad Request)]`;
142
+
143
+
exports[`AmazonS3Client Making requests Getting an object With credentials Retries on 401 error 1`] =`
exports[`AmazonS3Client Making requests Getting an object With credentials Retries on 401 error 2`] =`[Error: Amazon S3 responded with status code 401 (Unauthorized)]`;
166
+
119
167
exports[`AmazonS3Client Making requests Getting an object With credentials including a session token Can get an object 1`] =`
exports[`AmazonS3Client Making requests Getting an object With credentials including a session token Handles an unexpected error 2`] =`[Error: Amazon S3 responded with status code 500 (Server Error)]`;
247
295
296
+
exports[`AmazonS3Client Making requests Getting an object With credentials including a session token Retries on 400 error 1`] =`
exports[`AmazonS3Client Making requests Getting an object With credentials including a session token Retries on 400 error 2`] =`[Error: Amazon S3 responded with status code 400 (Bad Request)]`;
322
+
323
+
exports[`AmazonS3Client Making requests Getting an object With credentials including a session token Retries on 401 error 1`] =`
exports[`AmazonS3Client Making requests Getting an object With credentials including a session token Retries on 401 error 2`] =`[Error: Amazon S3 responded with status code 401 (Unauthorized)]`;
349
+
248
350
exports[`AmazonS3Client Making requests Getting an object Without credentials Can get an object 1`] =`
exports[`AmazonS3Client Making requests Getting an object Without credentials Retries on 400 error 2`] =`[Error: Amazon S3 responded with status code 400 (Bad Request)]`;
467
+
468
+
exports[`AmazonS3Client Making requests Getting an object Without credentials Retries on 401 error 1`] =`
exports[`AmazonS3Client Making requests Getting an object Without credentials Retries on 401 error 2`] =`[Error: Amazon S3 responded with status code 401 (Unauthorized)]`;
488
+
345
489
exports[`AmazonS3Client Making requests Uploading an object Throws an error if credentials are not provided 1`] =`[TypeError: Cannot read properties of undefined (reading 'body')]`;
346
490
347
491
exports[`AmazonS3Client Making requests Uploading an object With credentials Handles an unexpected error code 1`] =`
0 commit comments