Refactor saveCacheV2 to use saveCache from cacheHttpClient
This commit is contained in:
1 parent
10c2c22dd2
commit
3e095368f1
7 files changed
+158
-116
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user