aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-08-12 14:38:30 +0200
committerHampusM <hampus@hampusmat.com>2021-08-12 14:38:30 +0200
commit30f0b2ee1f494be1786280040fb47ec18bde8a6d (patch)
tree9a5a1e880213683ee87187f632796df3f9f10a42 /test/unit
parent108b469cbb09f911c9a52d4134a504d9b51ac30d (diff)
Fixed the pgp-related commit unit test problem
Diffstat (limited to 'test/unit')
-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 c8cc06f..e9e0e0d 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.head();
+ commit = await Commit.lookup(repository, "8feb65c5467cc3ad48270183113a121c4a9f86ca");
});
it("Should get the stats", async() => {