mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-20 17:13:49 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
1 parent
3567c6d321
commit
0e2e30ae1a
2 files changed
+10
-4
No files matched your search
@@ -1,6 +1,14 @@
|
||||
import type { NeutralMessage, NeutralAuthor } from "../types";
|
||||
import { GITHUB_COLORS } from "./colors";
|
||||
import { branchLink, emojiPrefix, refUrl, tagLink, type T, buildMessage, repoBaseUrl } from "./helpers";
|
||||
import {
|
||||
branchLink,
|
||||
emojiPrefix,
|
||||
refUrl,
|
||||
tagLink,
|
||||
type T,
|
||||
buildMessage,
|
||||
repoBaseUrl,
|
||||
} from "./helpers";
|
||||
|
||||
export function formatCreate(
|
||||
payload: Record<string, unknown>,
|
||||
|
||||
@@ -632,9 +632,7 @@ describe("limits and localization", () => {
|
||||
sender,
|
||||
}),
|
||||
);
|
||||
expect(msg.title).toBe(
|
||||
"acme/widget: 🏷️ Created tag v1.0",
|
||||
);
|
||||
expect(msg.title).toBe("acme/widget: 🏷️ Created tag v1.0");
|
||||
expect(msg.url).toBe("https://github.com/acme/widget/releases/tag/v1.0");
|
||||
expect(msg.color).toBe(4176208);
|
||||
expect(msg.description).toBeUndefined();
|
||||
|
||||
Reference in new issue
Block a user