@@ -696,7 +696,7 @@ describe('S3Adapter tests', () => {
696696 const s3 = getMockS3Adapter ( options ) ;
697697 const fileName = 'randomFileName.txt' ;
698698 const response = s3 . createFile ( fileName , 'hello world' , 'text/utf8' ) . then ( value => {
699- const url = new URL ( value . Location ) ;
699+ const url = new URL ( value . location ) ;
700700 expect ( url . pathname . indexOf ( fileName ) > 13 ) . toBe ( true ) ;
701701 } ) ;
702702 promises . push ( response ) ;
@@ -707,7 +707,7 @@ describe('S3Adapter tests', () => {
707707 const s3 = getMockS3Adapter ( options ) ;
708708 const fileName = 'foo/randomFileName.txt' ;
709709 const response = s3 . createFile ( fileName , 'hello world' , 'text/utf8' ) . then ( value => {
710- const url = new URL ( value . Location ) ;
710+ const url = new URL ( value . location ) ;
711711 expect ( url . pathname . substring ( 1 ) ) . toEqual ( options . bucketPrefix + fileName ) ;
712712 } ) ;
713713 promises . push ( response ) ;
@@ -717,7 +717,7 @@ describe('S3Adapter tests', () => {
717717 const s3 = getMockS3Adapter ( options ) ;
718718 const fileName = 'foo/randomFileName.txt' ;
719719 const response = s3 . createFile ( fileName , 'hello world' , 'text/utf8' ) . then ( value => {
720- const url = new URL ( value . Location ) ;
720+ const url = new URL ( value . location ) ;
721721 expect ( url . pathname . indexOf ( 'foo/' ) ) . toEqual ( 6 ) ;
722722 expect ( url . pathname . indexOf ( 'random' ) > 13 ) . toBe ( true ) ;
723723 } ) ;
0 commit comments