diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-25 12:08:17 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-25 12:08:17 +0200 |
commit | a5afb39803e70a6117965760f50615aaba82f84a (patch) | |
tree | f98f85d799cba49e67d6935a285a0910c4bfa7a3 /test/unit | |
parent | f3ef0dd8f247f06f016fe78012fa9f2753c96479 (diff) |
Added curl params in the git-upload-pack git http unit test
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/git-http.unit.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/git-http.unit.test.ts b/test/unit/git-http.unit.test.ts index 92feefc..b8a0917 100644 --- a/test/unit/git-http.unit.test.ts +++ b/test/unit/git-http.unit.test.ts @@ -79,7 +79,8 @@ describe("Git HTTP backend", () => { const res = new Promise((resolve: (value: Record<string, Buffer>) => void, reject: (value: ExecException) => void) => { const curl_params = [ "-X POST", - "-s", + "-sS", + "-f", "-H \"Content-Type: application/x-git-upload-pack-request\"", "-T -" ].join(" "); |