Refactor saveCacheV2 to use saveCache from cacheHttpClient

This commit is contained in:
Bassem Dghaidi authored and GitHub committed 2024-11-28 07:22:01 -08:00
1 parent 10c2c22dd2
commit 3e095368f1
7 files changed
+158 -116

No files matched your search

+4 -2
View File
@@ -47,14 +47,16 @@ test('getUploadOptions sets defaults', async () => {
expect(actualOptions).toEqual({
uploadConcurrency,
uploadChunkSize
uploadChunkSize,
useAzureSdk
})
})
test('getUploadOptions overrides all settings', async () => {
const expectedOptions: UploadOptions = {
uploadConcurrency: 2,
uploadChunkSize: 16 * 1024 * 1024
uploadChunkSize: 16 * 1024 * 1024,
useAzureSdk: true
}
const actualOptions = getUploadOptions(expectedOptions)