Skip to content

Commit 46dbd18

Browse files
committed
JavaScript (v3): S3 - Fix formatting issue.
1 parent 4d109a3 commit 46dbd18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascriptv3/example_code/s3/tests/put-object.unit.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe("put-object", () => {
5454
});
5555

5656
expect(spy).toHaveBeenCalledWith(
57-
`Error from S3 while uploading object to ${bucketName}. The bucket doesn't exist.`
57+
`Error from S3 while uploading object to ${bucketName}. The bucket doesn't exist.`,
5858
);
5959
});
6060

@@ -73,7 +73,7 @@ describe("put-object", () => {
7373
});
7474

7575
expect(spy).toHaveBeenCalledWith(
76-
`Error from S3 while uploading object to ${bucketName}. ${error.name}: ${error.message}`
76+
`Error from S3 while uploading object to ${bucketName}. ${error.name}: ${error.message}`,
7777
);
7878
});
7979

@@ -82,7 +82,7 @@ describe("put-object", () => {
8282
send.mockRejectedValueOnce(new Error());
8383

8484
await expect(() =>
85-
main({ bucketName, key: "movies.json", filePath: "path/to/movies.json" })
85+
main({ bucketName, key: "movies.json", filePath: "path/to/movies.json" }),
8686
).rejects.toBeTruthy();
8787
});
8888
});

0 commit comments

Comments
 (0)