mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 14:51:07 +08:00
Restore __tests__
This commit is contained in:
parent
9da70ffbd7
commit
4e1912a3c3
@ -1,8 +1,7 @@
|
||||
import { getCacheVersion } from '../src/internal/cacheUtils'
|
||||
import { downloadCache } from '../src/internal/cacheHttpClient'
|
||||
import { CompressionMethod } from '../src/internal/constants'
|
||||
import {downloadCache, getCacheVersion} from '../src/internal/cacheHttpClient'
|
||||
import {CompressionMethod} from '../src/internal/constants'
|
||||
import * as downloadUtils from '../src/internal/downloadUtils'
|
||||
import { DownloadOptions, getDownloadOptions } from '../src/options'
|
||||
import {DownloadOptions, getDownloadOptions} from '../src/options'
|
||||
|
||||
jest.mock('../src/internal/downloadUtils')
|
||||
|
||||
@ -129,7 +128,7 @@ test('downloadCache passes options to download methods', async () => {
|
||||
|
||||
const archiveLocation = 'http://foo.blob.core.windows.net/bar/baz'
|
||||
const archivePath = '/foo/bar'
|
||||
const options: DownloadOptions = { downloadConcurrency: 4 }
|
||||
const options: DownloadOptions = {downloadConcurrency: 4}
|
||||
|
||||
await downloadCache(archiveLocation, archivePath, options)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user