mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
parent
52d136c468
commit
ace036c209
1 changed files with 6 additions and 1 deletions
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue