diff options
author | Hampus <hampus@hampusmat.com> | 2021-07-22 00:21:12 +0200 |
---|---|---|
committer | Hampus <hampus@hampusmat.com> | 2021-07-22 00:21:12 +0200 |
commit | 26870af84224600135bf831239b7829008c962cf (patch) | |
tree | 7a9705ed3b7b33f6126b4252401b09b4bdc861c7 /test/unit/repository.unit.test.ts | |
parent | 7b9fca8d0061cf5e5af08cba98e9d5b6dbbed8ec (diff) |
Updated the repository latest commit test
Diffstat (limited to 'test/unit/repository.unit.test.ts')
-rw-r--r-- | test/unit/repository.unit.test.ts | 12 |
1 files changed, 6 insertions, 6 deletions
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 +}); |