Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrutter committed Feb 7, 2025
1 parent 603d292 commit a5c15c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const createSocketTimeoutStream = (url: string): http.ClientRequest => {
timeout: 1,
});
}

return http.request(url, {
timeout: socketTimeout,
});
Expand Down Expand Up @@ -90,7 +91,7 @@ test('setting to `0` disables retrying', async t => {
return 0;
},
},
request: () => createSocketTimeoutStream("https://example.com"),
request: () => createSocketTimeoutStream('https://example.com'),
}), {
instanceOf: TimeoutError,
message: `Timeout awaiting 'socket' for ${socketTimeout}ms`,
Expand Down

0 comments on commit a5c15c8

Please sign in to comment.