diff --git a/src/preview-commit.test.ts b/src/preview-commit.test.ts index 107f2bf..4c2c082 100644 --- a/src/preview-commit.test.ts +++ b/src/preview-commit.test.ts @@ -385,8 +385,9 @@ describe("previewCommit", () => { let envelope: PatchEnvelope; if (previewed) { const preview = a.previewCommit(next); - // One patch and 8 candidate merge diffs, all in the preview. - expect(counts.diffs).toBe(9); + // One patch and 2 candidate merge diffs (MAX_MERGE_PARENT_CANDIDATES), + // all in the preview. + expect(counts.diffs).toBe(3); const diffs = counts.diffs; envelope = a.commit(next, { preview }); expect(counts.diffs).toBe(diffs);