mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-04 12:33:15 +08:00
Updated variable names
This commit is contained in:
6
packages/cache/__tests__/options.test.ts
vendored
6
packages/cache/__tests__/options.test.ts
vendored
@@ -8,7 +8,7 @@ import {
|
||||
const useAzureSdk = true
|
||||
const downloadConcurrency = 8
|
||||
const timeoutInMs = 30000
|
||||
const abortTimeInMs = 3600000
|
||||
const segmentTimeoutInMs = 3600000
|
||||
const uploadConcurrency = 4
|
||||
const uploadChunkSize = 32 * 1024 * 1024
|
||||
|
||||
@@ -19,7 +19,7 @@ test('getDownloadOptions sets defaults', async () => {
|
||||
useAzureSdk,
|
||||
downloadConcurrency,
|
||||
timeoutInMs,
|
||||
abortTimeInMs
|
||||
segmentTimeoutInMs
|
||||
})
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ test('getDownloadOptions overrides all settings', async () => {
|
||||
useAzureSdk: false,
|
||||
downloadConcurrency: 14,
|
||||
timeoutInMs: 20000,
|
||||
abortTimeInMs: 3600000
|
||||
segmentTimeoutInMs: 3600000
|
||||
}
|
||||
|
||||
const actualOptions = getDownloadOptions(expectedOptions)
|
||||
|
||||
Reference in New Issue
Block a user