style(cron): format telegram target tests
This commit is contained in:
@@ -725,11 +725,11 @@ describe("parseTelegramTarget", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("strips internal telegram + group prefixes before parsing topic", () => {
|
it("strips internal telegram + group prefixes before parsing topic", () => {
|
||||||
expect(parseTelegramTarget("telegram:group:-1001234567890:topic:456")).toEqual(
|
expect(
|
||||||
{
|
parseTelegramTarget("telegram:group:-1001234567890:topic:456"),
|
||||||
chatId: "-1001234567890",
|
).toEqual({
|
||||||
topicId: 456,
|
chatId: "-1001234567890",
|
||||||
},
|
topicId: 456,
|
||||||
);
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user