From 26870af84224600135bf831239b7829008c962cf Mon Sep 17 00:00:00 2001 From: Hampus Date: Thu, 22 Jul 2021 00:21:12 +0200 Subject: Updated the repository latest commit test --- test/unit/commit.unit.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit/commit.unit.test.ts') 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 +}); -- cgit v1.2.3-18-g5258