diff options
Diffstat (limited to 'test/unit/blob.unit.test.ts')
-rw-r--r-- | test/unit/blob.unit.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/blob.unit.test.ts b/test/unit/blob.unit.test.ts index 1771255..308245a 100644 --- a/test/unit/blob.unit.test.ts +++ b/test/unit/blob.unit.test.ts @@ -10,7 +10,7 @@ describe("Blob", () => { it("Should the get a blob from a path in a tree", 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)); const blob = await Blob.fromPath(tree, "packages/client/src/main.ts"); expect(blob).toBeDefined(); @@ -22,7 +22,7 @@ describe("Blob", () => { let blob: Blob; beforeAll(async() => { - 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)); blob = await Blob.fromPath(tree, "packages/client/src/main.ts"); }); |