diff options
author | HampusM <hampus@hampusmat.com> | 2021-08-05 17:03:36 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-08-05 17:03:36 +0200 |
commit | 8c6a59cd766fead4998c957d86a0e33fd58d1cde (patch) | |
tree | ff2cd43a4a5dafb27348fc320784c39f1fe9c941 /test/unit/diff.unit.test.ts | |
parent | 22bf491be5f25bccf779be53b2ad37836f0850b8 (diff) |
The tree API has a branch query param & made repository branch less hardcoded
Diffstat (limited to 'test/unit/diff.unit.test.ts')
-rw-r--r-- | test/unit/diff.unit.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/diff.unit.test.ts b/test/unit/diff.unit.test.ts index 5d30ec5..ed4061b 100644 --- a/test/unit/diff.unit.test.ts +++ b/test/unit/diff.unit.test.ts @@ -11,7 +11,7 @@ describe("Diff", () => { beforeAll(async() => { const repository = await Repository.open(env.BASE_DIR, env.AVAIL_REPO); - diff = await (await repository.masterCommit()).diff(); + diff = await (await repository.head()).diff(); }); describe("Instance methods", () => { |