aboutsummaryrefslogtreecommitdiff
path: root/test/unit/repository.unit.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/repository.unit.test.ts')
-rw-r--r--test/unit/repository.unit.test.ts12
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
+});