aboutsummaryrefslogtreecommitdiff
path: root/test/unit/diff.unit.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/diff.unit.test.ts')
-rw-r--r--test/unit/diff.unit.test.ts2
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", () => {