diff options
Diffstat (limited to 'test/unit/tree.unit.test.ts')
-rw-r--r-- | test/unit/tree.unit.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/tree.unit.test.ts b/test/unit/tree.unit.test.ts index 1cbc85a..1754e7a 100644 --- a/test/unit/tree.unit.test.ts +++ b/test/unit/tree.unit.test.ts @@ -12,7 +12,7 @@ describe("Tree", () => { it("Should get the tree of a repository", async() => { expect.assertions(2); - const tree = await Tree.ofRepository(await Repository.open(env.BASE_DIR, env.AVAIL_REPO)); + const tree = await Tree.ofRepository(await Repository.open(env.GIT_DIR, env.AVAIL_REPO)); expect(tree).toBeDefined(); expect(tree).toBeInstanceOf(Tree); @@ -23,7 +23,7 @@ describe("Tree", () => { let tree: Tree; beforeAll(async() => { - tree = await Tree.ofRepository(await Repository.open(env.BASE_DIR, env.AVAIL_REPO)); + tree = await Tree.ofRepository(await Repository.open(env.GIT_DIR, env.AVAIL_REPO)); }); it("Should get the entries", () => { |