aboutsummaryrefslogtreecommitdiff
path: root/test/unit/commit.unit.test.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-08-05 17:03:36 +0200
committerHampusM <hampus@hampusmat.com>2021-08-05 17:03:36 +0200
commit8c6a59cd766fead4998c957d86a0e33fd58d1cde (patch)
treeff2cd43a4a5dafb27348fc320784c39f1fe9c941 /test/unit/commit.unit.test.ts
parent22bf491be5f25bccf779be53b2ad37836f0850b8 (diff)
The tree API has a branch query param & made repository branch less hardcoded
Diffstat (limited to 'test/unit/commit.unit.test.ts')
-rw-r--r--test/unit/commit.unit.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/commit.unit.test.ts b/test/unit/commit.unit.test.ts
index abbdb9a..137c64c 100644
--- a/test/unit/commit.unit.test.ts
+++ b/test/unit/commit.unit.test.ts
@@ -48,7 +48,7 @@ describe("Commit", () => {
let commit: Commit;
beforeAll(async() => {
- commit = await repository.masterCommit();
+ commit = await repository.head();
});
it("Should get the stats", async() => {