mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
refactor(push): move commits to description, comparison to changes field
This commit is contained in:
6 files changed
+44
-48
No files matched your search
@@ -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",
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user