Skip to content

Commit

Permalink
ci: 优化测试案例
Browse files Browse the repository at this point in the history
  • Loading branch information
share121 committed Feb 6, 2025
1 parent 63314f3 commit 4a358b0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion main_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Deno.test("Download ISO file test", async () => {
);
});

Deno.test("Download ISO file test", async () => {
Deno.test("Breakpoint continuation test", async () => {
const url =
"https://mirrors.tuna.tsinghua.edu.cn/debian-cd/12.9.0-live/amd64/iso-hybrid/debian-live-12.9.0-amd64-kde.iso";
const dirpath = ".";
Expand All @@ -45,6 +45,13 @@ Deno.test("Download ISO file test", async () => {
dirpath,
threads,
startChunk: 700,
endChunk: 1400,
});
await download({
url,
dirpath,
threads,
startChunk: 1400,
});
console.timeEnd("Download ISO file test");

Expand Down

0 comments on commit 4a358b0

Please sign in to comment.