Skip to content

Commit

Permalink
test: update createFolder test spec for checksum alg header
Browse files Browse the repository at this point in the history
  • Loading branch information
jjarvisp committed Jan 17, 2025
1 parent f8700d0 commit 9e98921
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createFolderHandler, CreateFolderHandlerInput } from '../createFolder';

import { uploadData, UploadDataInput } from '../../../storage-internal';
import { DEFAULT_CHECKSUM_ALGORITHM } from '../upload';

jest.mock('../../../storage-internal');

Expand Down Expand Up @@ -70,6 +71,7 @@ describe('createFolderHandler', () => {
locationCredentialsProvider: credentials,
onProgress: expect.any(Function),
preventOverwrite: true,
checksumAlgorithm: DEFAULT_CHECKSUM_ALGORITHM,
},
path: baseInput.data.key,
};
Expand Down

0 comments on commit 9e98921

Please sign in to comment.