refactor(push): move commits to description, comparison to changes field

This commit is contained in:
RhenCloud committed 2026-08-16 22:46:11 +08:00
1 parent 47d7c9105b
commit df0edbb581
6 files changed
+44 -48

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ describe("gitea event parsing", () => {
};
const msg = formatEvent(route, event!);
expect(msg.title).toContain("org/repo");
expect(msg.fields![0].value).toBe(
expect(msg.description).toContain(
"[`abcd123`](https://git.example.com/org/repo/commit/abcd1234ef) fix stuff",
);
});