mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
refactor(push): move commits to description, comparison to changes field
This commit is contained in:
parent
47d7c9105b
commit
df0edbb581
6 changed files with 44 additions and 48 deletions
|
|
@ -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",
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue