Lazy import proxy-agent

This commit is contained in:
Fedor Indutny 2024-03-20 11:05:10 -07:00 committed by GitHub
parent 83e8f4b59d
commit 091b50c414
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 60 additions and 39 deletions

View file

@ -338,7 +338,7 @@ describe('updater/differential', () => {
await assert.isRejected(
download(outFile, data, {
gotOptions: {
...getGotOptions(),
...(await getGotOptions()),
timeout: {
connect: 0.5 * durations.SECOND,
lookup: 0.5 * durations.SECOND,