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/repository.unit.test.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/unit/repository.unit.test.ts') diff --git a/test/unit/repository.unit.test.ts b/test/unit/repository.unit.test.ts index 86ac55e..b11b236 100644 --- a/test/unit/repository.unit.test.ts +++ b/test/unit/repository.unit.test.ts @@ -68,15 +68,15 @@ describe("Repository", () => { await expect(repository.lookupExists(env.UNAVAIL_OBJECT)).resolves.toBeFalsy(); }); - it("Gets the latest commit", async () => { + it("Gets the master commit", async () => { expect.assertions(8); - const latest_commit = await repository.latestCommit(); + const master_commit = await repository.masterCommit(); - expect(latest_commit).toBeDefined(); - expect(latest_commit).toBeInstanceOf(Commit); + expect(master_commit).toBeDefined(); + expect(master_commit).toBeInstanceOf(Commit); - expectCommitProperties(latest_commit); + expectCommitProperties(master_commit); }); it("Gets the commits", async () => { @@ -135,4 +135,4 @@ describe("Repository", () => { } }); }); -}); \ No newline at end of file +}); -- cgit v1.2.3-18-g5258