diff options
author | HampusM <hampus@hampusmat.com> | 2021-08-12 15:37:30 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-08-12 15:37:30 +0200 |
commit | d41b27f43335cfb1a8ff49aeb121f992332429cf (patch) | |
tree | 93b6e1ec9b292c3d80ee1a538d0e729612148052 /test/unit/tag.unit.test.ts | |
parent | 30f0b2ee1f494be1786280040fb47ec18bde8a6d (diff) |
Cleaned up the settings implementation & renamed base_dir project-wide to git_dir
Diffstat (limited to 'test/unit/tag.unit.test.ts')
-rw-r--r-- | test/unit/tag.unit.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/tag.unit.test.ts b/test/unit/tag.unit.test.ts index 8321092..76abc33 100644 --- a/test/unit/tag.unit.test.ts +++ b/test/unit/tag.unit.test.ts @@ -9,7 +9,7 @@ describe("Tag", () => { it("Should lookup a tag", async() => { expect.assertions(2); - const repository = await Repository.open(env.BASE_DIR, env.AVAIL_REPO); + const repository = await Repository.open(env.GIT_DIR, env.AVAIL_REPO); const tag = await Tag.lookup(repository, "1.2"); @@ -22,7 +22,7 @@ describe("Tag", () => { let tag: Tag; beforeAll(async() => { - const repository = await Repository.open(env.BASE_DIR, env.AVAIL_REPO); + const repository = await Repository.open(env.GIT_DIR, env.AVAIL_REPO); tag = await Tag.lookup(repository, "1.2"); }); |