@@ -237,7 +237,7 @@ describe('File', () => {
237237 retryOptions : {
238238 autoRetry : true ,
239239 maxRetries : 3 ,
240- retryDelayMultipier : 2 ,
240+ retryDelayMultiplier : 2 ,
241241 totalTimeout : 600 ,
242242 maxRetryDelay : 60 ,
243243 retryableErrorFn : ( err : HTTPError ) => {
@@ -282,7 +282,7 @@ describe('File', () => {
282282 assert . strictEqual ( file . storage , BUCKET . storage ) ;
283283 } ) ;
284284
285- it ( 'should set instanceRetryValue to the storage insance retryOptions.autoRetry value' , ( ) => {
285+ it ( 'should set instanceRetryValue to the storage instance retryOptions.autoRetry value' , ( ) => {
286286 assert . strictEqual (
287287 file . instanceRetryValue ,
288288 STORAGE . retryOptions . autoRetry
@@ -1815,7 +1815,7 @@ describe('File', () => {
18151815 autoRetry : true ,
18161816 maxRetries : 3 ,
18171817 maxRetryDelay : 60 ,
1818- retryDelayMultipier : 2 ,
1818+ retryDelayMultiplier : 2 ,
18191819 totalTimeout : 600 ,
18201820 } ,
18211821 preconditionOpts : {
@@ -1860,8 +1860,8 @@ describe('File', () => {
18601860 options . retryOptions . maxRetryDelay
18611861 ) ;
18621862 assert . strictEqual (
1863- opts . retryOptions . retryDelayMultipier ,
1864- options . retryOptions . retryDelayMultipier
1863+ opts . retryOptions . retryDelayMultiplier ,
1864+ options . retryOptions . retryDelayMultiplier
18651865 ) ;
18661866 assert . strictEqual (
18671867 opts . retryOptions . totalTimeout ,
@@ -1898,7 +1898,7 @@ describe('File', () => {
18981898 autoRetry : true ,
18991899 maxRetries : 3 ,
19001900 maxRetryDelay : 60 ,
1901- retryDelayMultipier : 2 ,
1901+ retryDelayMultiplier : 2 ,
19021902 totalTimeout : 600 ,
19031903 } ,
19041904 } ;
@@ -1939,8 +1939,8 @@ describe('File', () => {
19391939 options . retryOptions . maxRetryDelay
19401940 ) ;
19411941 assert . strictEqual (
1942- opts . retryOptions . retryDelayMultipier ,
1943- options . retryOptions . retryDelayMultipier
1942+ opts . retryOptions . retryDelayMultiplier ,
1943+ options . retryOptions . retryDelayMultiplier
19441944 ) ;
19451945 assert . strictEqual (
19461946 opts . retryOptions . totalTimeout ,
@@ -1996,11 +1996,11 @@ describe('File', () => {
19961996 'Cannot provide an `offset` without providing a `uri`'
19971997 ) ;
19981998
1999- const opitons = {
1999+ const options = {
20002000 offset : 1 ,
20012001 isPartialUpload : true ,
20022002 } ;
2003- const writable = file . createWriteStream ( opitons ) ;
2003+ const writable = file . createWriteStream ( options ) ;
20042004
20052005 writable . on ( 'error' , ( err : RangeError ) => {
20062006 assert . deepEqual ( err , error ) ;
@@ -2919,7 +2919,7 @@ describe('File', () => {
29192919 ) ;
29202920 } ) ;
29212921
2922- it ( 'should add ACL condtion ' , done => {
2922+ it ( 'should add ACL condition ' , done => {
29232923 file . generateSignedPostPolicyV2 (
29242924 {
29252925 expires : Date . now ( ) + 2000 ,
@@ -3151,7 +3151,7 @@ describe('File', () => {
31513151 ) ;
31523152 } ) ;
31533153
3154- it ( 'should throw if prexif condition is not an array' , ( ) => {
3154+ it ( 'should throw if prefix condition is not an array' , ( ) => {
31553155 assert . throws ( ( ) => {
31563156 file . generateSignedPostPolicyV2 (
31573157 {
@@ -4558,7 +4558,7 @@ describe('File', () => {
45584558 }
45594559 }
45604560
4561- describe ( 'retry mulipart upload' , ( ) => {
4561+ describe ( 'retry multipart upload' , ( ) => {
45624562 it ( 'should save a string with no errors' , async ( ) => {
45634563 const options = { resumable : false } ;
45644564 file . createWriteStream = ( ) => {
0 commit comments