mirror of
https://github.com/robinraju/release-downloader.git
synced 2026-10-08 09:12:59 +03:00
17 lines
458 B
TypeScript
17 lines
458 B
TypeScript
import {download} from "../src/download"
|
|
import {IReleaseDownloadSettings} from "../src/download-settings"
|
|
|
|
test("run download", async () => {
|
|
const downloadSettings: IReleaseDownloadSettings = {
|
|
sourceRepoPath: "lihaoyi/Ammonite",
|
|
isLatest: false,
|
|
tag: "2.1.1",
|
|
fileName: "2.13-2.1.1-14-4f2a1b2-bootstrap",
|
|
tarBall: false,
|
|
zipBall: false,
|
|
outFilePath: "./target",
|
|
token: ""
|
|
}
|
|
await download(downloadSettings)
|
|
}, 10000)
|