Skip to content

Commit 8d31d57

Browse files
committed
test: add assertion for requestId in file upload response
1 parent b59f621 commit 8d31d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,9 +975,9 @@ describe("File upload", async function () {
975975
await sleep();
976976

977977
const response = await uploadPromise;
978-
// Make sure your upload.ts preserves the case of "Content-Type"
979978
expect(response.$ResponseMetadata.headers).to.deep.equal(dummyResponseHeaders);
980979
expect(response.$ResponseMetadata.statusCode).to.equal(200);
980+
expect(response.$ResponseMetadata.requestId).to.equal("sdfsdfsdfdsf");
981981
});
982982

983983
it('Undefined fields should not be sent', async function () {

0 commit comments

Comments
 (0)