diff --git a/blob/lib/highlevel.browser.ts b/blob/lib/highlevel.browser.ts index 4b46068..3a3796e 100644 --- a/blob/lib/highlevel.browser.ts +++ b/blob/lib/highlevel.browser.ts @@ -95,7 +95,7 @@ async function UploadSeekableBlobToBlockBlob( options.maxSingleShotSize > BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES ) { throw new RangeError( - `parallelismThreshold option must be >= 0 and <= ${BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}` + `maxSingleShotSize option must be >= 0 and <= ${BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}` ); } diff --git a/blob/lib/highlevel.node.ts b/blob/lib/highlevel.node.ts index f634bab..3062e0e 100644 --- a/blob/lib/highlevel.node.ts +++ b/blob/lib/highlevel.node.ts @@ -109,7 +109,7 @@ async function uploadResetableStreamToBlockBlob( options.maxSingleShotSize > BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES ) { throw new RangeError( - `parallelismThreshold option must be >= 0 and <= ${BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}` + `maxSingleShotSize option must be >= 0 and <= ${BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}` ); } diff --git a/blob/tests/browser/highlevel.browser.test.ts b/blob/tests/browser/highlevel.browser.test.ts index 005e59a..2f32686 100644 --- a/blob/tests/browser/highlevel.browser.test.ts +++ b/blob/tests/browser/highlevel.browser.test.ts @@ -123,7 +123,7 @@ describe("Highelvel", () => { assert.equal(uploadedString, downloadedString); }); - it("uploadBrowserDataToBlockBlob should success when blob < BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES and configed parallism threshold", async () => { + it("uploadBrowserDataToBlockBlob should success when blob < BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES and configured maxSingleShotSize", async () => { await uploadBrowserDataToBlockBlob(Aborter.none, tempFile2, blockBlobURL, { blockSize: 512 * 1024, maxSingleShotSize: 0 diff --git a/blob/tests/node/highlevel.node.test.ts b/blob/tests/node/highlevel.node.test.ts index ee97c8e..595a152 100644 --- a/blob/tests/node/highlevel.node.test.ts +++ b/blob/tests/node/highlevel.node.test.ts @@ -114,7 +114,7 @@ describe("Highlevel", () => { assert.ok(downloadedData.equals(uploadedData)); }); - it("uploadFileToBlockBlob should success when blob < BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES and configed parallism threshold", async () => { + it("uploadFileToBlockBlob should success when blob < BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES and configured maxSingleShotSize", async () => { await uploadFileToBlockBlob(Aborter.none, tempFileSmall, blockBlobURL, { maxSingleShotSize: 0 }); diff --git a/blob/tests/utils/InjectorPolicyFactory.ts b/blob/tests/utils/InjectorPolicyFactory.ts index 5e9815a..dcd64f5 100644 --- a/blob/tests/utils/InjectorPolicyFactory.ts +++ b/blob/tests/utils/InjectorPolicyFactory.ts @@ -6,7 +6,7 @@ import { import { InjectorPolicy, Injector } from "./InjectorPolicy"; /** - * InjectorPolicyFactory is a factory class inject customized errors for retry policy testing. + * InjectorPolicyFactory is a factory class which injects customized errors for retry policy testing. * * @export * @class InjectorPolicyFactory