mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
1 parent
52d136c468
commit
ace036c209
1 file changed
+6
-1
@@ -57,7 +57,12 @@ describe("telegram renderNeutralMessage", () => {
|
|||||||
it("renders a code-formatted commit hash inside a link", () => {
|
it("renders a code-formatted commit hash inside a link", () => {
|
||||||
const out = renderNeutralMessage({
|
const out = renderNeutralMessage({
|
||||||
title: "acme/widget: Pushed 1 commit",
|
title: "acme/widget: Pushed 1 commit",
|
||||||
fields: [{ name: "\u200b", value: "[`abcd123`](https://github.com/acme/widget/commit/abcd1234ef) fix stuff" }],
|
fields: [
|
||||||
|
{
|
||||||
|
name: "\u200b",
|
||||||
|
value: "[`abcd123`](https://github.com/acme/widget/commit/abcd1234ef) fix stuff",
|
||||||
|
},
|
||||||
|
],
|
||||||
});
|
});
|
||||||
expect(out).toContain(
|
expect(out).toContain(
|
||||||
'<a href="https://github.com/acme/widget/commit/abcd1234ef"><code>abcd123</code></a> fix stuff',
|
'<a href="https://github.com/acme/widget/commit/abcd1234ef"><code>abcd123</code></a> fix stuff',
|
||||||
|
|||||||
Reference in new issue
Block a user