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", () => {
|
||||
expect(parseTelegramTarget("telegram:group:-1001234567890:topic:456")).toEqual(
|
||||
{
|
||||
chatId: "-1001234567890",
|
||||
topicId: 456,
|
||||
},
|
||||
);
|
||||
expect(
|
||||
parseTelegramTarget("telegram:group:-1001234567890:topic:456"),
|
||||
).toEqual({
|
||||
chatId: "-1001234567890",
|
||||
topicId: 456,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user