@@ -333,7 +333,7 @@ describe('S3Adapter tests', () => {
333
333
} ) ;
334
334
} ) ;
335
335
336
- function makeS3Adaptor ( options ) {
336
+ function makeS3Adapter ( options ) {
337
337
let s3 ;
338
338
339
339
if (
@@ -400,7 +400,7 @@ describe('S3Adapter tests', () => {
400
400
401
401
it ( 'should add a unique timestamp to the file name when the preserveFileName option is never' , ( ) => {
402
402
options . preserveFileName = 'never' ;
403
- const s3 = makeS3Adaptor ( options ) ;
403
+ const s3 = makeS3Adapter ( options ) ;
404
404
const fileName = 'randomFileName.txt' ;
405
405
const response = s3 . createFile ( fileName , 'hello world' , 'text/utf8' ) . then ( ( value ) => {
406
406
const url = new URL ( value . Location ) ;
@@ -411,7 +411,7 @@ describe('S3Adapter tests', () => {
411
411
412
412
it ( 'should not add unique timestamp to the file name when the preserveFileName option is hasPath and there is a path' , ( ) => {
413
413
options . preserveFileName = 'hasPath' ;
414
- const s3 = makeS3Adaptor ( options ) ;
414
+ const s3 = makeS3Adapter ( options ) ;
415
415
const fileName = 'foo/randomFileName.txt' ;
416
416
const response = s3 . createFile ( fileName , 'hello world' , 'text/utf8' ) . then ( ( value ) => {
417
417
const url = new URL ( value . Location ) ;
@@ -422,7 +422,7 @@ describe('S3Adapter tests', () => {
422
422
423
423
it ( 'should add unique timestamp to the file name after the last directory when the preserveFileName option is never and there is a path' , ( ) => {
424
424
options . preserveFileName = 'never' ;
425
- const s3 = makeS3Adaptor ( options ) ;
425
+ const s3 = makeS3Adapter ( options ) ;
426
426
const fileName = 'foo/randomFileName.txt' ;
427
427
const response = s3 . createFile ( fileName , 'hello world' , 'text/utf8' ) . then ( ( value ) => {
428
428
const url = new URL ( value . Location ) ;
@@ -435,5 +435,5 @@ describe('S3Adapter tests', () => {
435
435
afterAll ( ( ) => Promise . all ( promises ) ) ;
436
436
} ) ;
437
437
438
- filesAdapterTests . testAdapter ( 'S3Adapter' , makeS3Adaptor ( { } ) ) ;
438
+ filesAdapterTests . testAdapter ( 'S3Adapter' , makeS3Adapter ( { } ) ) ;
439
439
} ) ;
0 commit comments