Fix styling
This commit is contained in:
1 parent
9d3d4bec1b
commit
8f05cccf8e
2 files changed
+5
-3
No files matched your search
@@ -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