From 8c6a59cd766fead4998c957d86a0e33fd58d1cde Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 5 Aug 2021 17:03:36 +0200 Subject: The tree API has a branch query param & made repository branch less hardcoded --- test/unit/repository.unit.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 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 dd0d09b..66e32d4 100644 --- a/test/unit/repository.unit.test.ts +++ b/test/unit/repository.unit.test.ts @@ -104,10 +104,10 @@ describe("Repository", () => { await expect(repository.lookupExists(env.UNAVAIL_OBJECT)).resolves.toBeFalsy(); }); - it("Should get the master commit", async() => { + it("Should get the head commit", async() => { expect.assertions(8); - const master_commit = await repository.masterCommit(); + const master_commit = await repository.head(); expect(master_commit).toBeDefined(); expect(master_commit).toBeInstanceOf(Commit); -- cgit v1.2.3-18-g5258