mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-05-05 08:58:04 +08:00
Fix styling
This commit is contained in:
@@ -293,10 +293,10 @@ describe('Download Tests', () => {
|
||||
}
|
||||
|
||||
function setupThrowWhenReadingStream(): void {
|
||||
const spyInstance = jest
|
||||
jest
|
||||
.spyOn(DownloadHttpClient.prototype, 'pipeResponseToFile')
|
||||
.mockImplementationOnce(async () => {
|
||||
return new Promise<void>(resolve => {
|
||||
return new Promise<void>(() => {
|
||||
throw new Error(
|
||||
'simulate GZip reading truncated buffer and throw Z_BUF_ERROR'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user