Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/download/media-download.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ async function startServer(handler: http.RequestListener): Promise<string> {
return `http://127.0.0.1:${address.port}`;
}

describe('media downloads', () => {
// Windows runners occasionally exceed the default 5s timeout on the first
// http.createServer + downloadMedia roundtrip (cold-start cost on a loaded VM).
describe('media downloads', { retry: process.platform === 'win32' ? 2 : 0 }, () => {
it('keeps custom filenames inside the output directory', async () => {
const baseUrl = await startServer((_req, res) => {
res.statusCode = 200;
Expand Down
Loading