aboutsummaryrefslogtreecommitdiff
path: root/test/unit/commit.unit.test.ts
diff options
context:
space:
mode:
authorHampus <hampus@hampusmat.com>2021-07-22 00:21:12 +0200
committerHampus <hampus@hampusmat.com>2021-07-22 00:21:12 +0200
commit26870af84224600135bf831239b7829008c962cf (patch)
tree7a9705ed3b7b33f6126b4252401b09b4bdc861c7 /test/unit/commit.unit.test.ts
parent7b9fca8d0061cf5e5af08cba98e9d5b6dbbed8ec (diff)
Updated the repository latest commit test
Diffstat (limited to 'test/unit/commit.unit.test.ts')
-rw-r--r--test/unit/commit.unit.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/commit.unit.test.ts b/test/unit/commit.unit.test.ts
index b37e9cf..5c4d8c7 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.latestCommit();
+ commit = await repository.masterCommit();
});
it("Gets the stats", async () => {
@@ -81,4 +81,4 @@ describe("Commit", () => {
expect(tree).toBeInstanceOf(Tree);
});
});
-}); \ No newline at end of file
+});