chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] 2026-08-14 00:10:56 +00:00
parent 3dce114cec
commit 17d10db845
11 changed files with 50 additions and 56 deletions

View file

@ -521,9 +521,7 @@ describe("limits and localization", () => {
describe("forge source branding", () => {
it("github events brand as GitHub with the favicon", () => {
expect(
forgeInfo({ event: "push", provider: "github", payload: {} }),
).toEqual({
expect(forgeInfo({ event: "push", provider: "github", payload: {} })).toEqual({
name: "GitHub",
url: "https://github.com",
iconUrl: "https://github.com/favicon.ico",
@ -542,9 +540,7 @@ describe("forge source branding", () => {
url: "https://git.example.com",
iconUrl: "https://git.example.com/favicon.ico",
});
expect(
forgeInfo({ event: "push", provider: "gitea", payload: {} }),
).toBeUndefined();
expect(forgeInfo({ event: "push", provider: "gitea", payload: {} })).toBeUndefined();
});
it("custom events brand as a plain label without links", () => {

View file

@ -35,11 +35,13 @@ describe("telegram renderNeutralMessage", () => {
const out = renderNeutralMessage({
title: "acme/widget: Add feature",
footer: "acme/widget",
forge: { name: "GitHub", url: "https://github.com", iconUrl: "https://github.com/favicon.ico" },
forge: {
name: "GitHub",
url: "https://github.com",
iconUrl: "https://github.com/favicon.ico",
},
});
expect(out).toContain(
'<i><a href="https://github.com">GitHub</a> · acme/widget</i>',
);
expect(out).toContain('<i><a href="https://github.com">GitHub</a> · acme/widget</i>');
const gitea = renderNeutralMessage({
title: "org/repo: Add feature",