mirror of https://github.com/actions/toolkit
Fix broken test
parent
9dff82c727
commit
69409b3acd
|
@ -1,7 +1,8 @@
|
|||
import {downloadCache, getCacheVersion} from '../src/internal/cacheHttpClient'
|
||||
import {CompressionMethod} from '../src/internal/constants'
|
||||
import { downloadCache } from '../src/internal/cacheHttpClient'
|
||||
import { getCacheVersion } from '../src/internal/cacheUtils'
|
||||
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')
|
||||
|
||||
|
@ -128,7 +129,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…
Reference in New Issue