Skip to content

Commit aa653e2

Browse files
committed
chore: log download progress for minimal to try and debug
1 parent b97a83f commit aa653e2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/spec-test-util/src/downloadTests.ts

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ export async function downloadGenericSpecTests<TestNames extends string>(
7373
url,
7474
responseType: "stream",
7575
timeout: 45 * 60 * 1000,
76+
onDownloadProgress: (e) => {
77+
if (url.includes("minimal.tar.gz")) {
78+
log(JSON.stringify(e));
79+
}
80+
},
81+
7682
headers: {
7783
// eslint-disable-next-line @typescript-eslint/naming-convention
7884
Connection: "keep-alive",

0 commit comments

Comments
 (0)