Skip to content

Commit cb59a55

Browse files
author
Mike Patnode
committed
speling is hard
1 parent 0d53f90 commit cb59a55

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/test.spec.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ describe('S3Adapter tests', () => {
333333
});
334334
});
335335

336-
function makeS3Adaptor(options) {
336+
function makeS3Adapter(options) {
337337
let s3;
338338

339339
if (
@@ -400,7 +400,7 @@ describe('S3Adapter tests', () => {
400400

401401
it('should add a unique timestamp to the file name when the preserveFileName option is never', () => {
402402
options.preserveFileName = 'never';
403-
const s3 = makeS3Adaptor(options);
403+
const s3 = makeS3Adapter(options);
404404
const fileName = 'randomFileName.txt';
405405
const response = s3.createFile(fileName, 'hello world', 'text/utf8').then((value) => {
406406
const url = new URL(value.Location);
@@ -411,7 +411,7 @@ describe('S3Adapter tests', () => {
411411

412412
it('should not add unique timestamp to the file name when the preserveFileName option is hasPath and there is a path', () => {
413413
options.preserveFileName = 'hasPath';
414-
const s3 = makeS3Adaptor(options);
414+
const s3 = makeS3Adapter(options);
415415
const fileName = 'foo/randomFileName.txt';
416416
const response = s3.createFile(fileName, 'hello world', 'text/utf8').then((value) => {
417417
const url = new URL(value.Location);
@@ -422,7 +422,7 @@ describe('S3Adapter tests', () => {
422422

423423
it('should add unique timestamp to the file name after the last directory when the preserveFileName option is never and there is a path', () => {
424424
options.preserveFileName = 'never';
425-
const s3 = makeS3Adaptor(options);
425+
const s3 = makeS3Adapter(options);
426426
const fileName = 'foo/randomFileName.txt';
427427
const response = s3.createFile(fileName, 'hello world', 'text/utf8').then((value) => {
428428
const url = new URL(value.Location);
@@ -435,5 +435,5 @@ describe('S3Adapter tests', () => {
435435
afterAll(() => Promise.all(promises));
436436
});
437437

438-
filesAdapterTests.testAdapter('S3Adapter', makeS3Adaptor({}));
438+
filesAdapterTests.testAdapter('S3Adapter', makeS3Adapter({}));
439439
});

0 commit comments

Comments
 (0)