diff --git a/packages/khbuild_assistant_prep/src/slack/audit.test.ts b/packages/khbuild_assistant_prep/src/slack/audit.test.ts index 9a1a4b4..1b2c106 100644 --- a/packages/khbuild_assistant_prep/src/slack/audit.test.ts +++ b/packages/khbuild_assistant_prep/src/slack/audit.test.ts @@ -24,11 +24,11 @@ describe("ночная проверка упущенного", () => { const msgs = [ m("1000", "Client confirmed paint for 734 Placido, ready for the order"), m("1100", "Sorry, I could not process your message. The IT team has been notified.", { userId: null, botId: "B1" }), - m("5000", "Please meet Dan at 734 Placido on Monday about the driveway"), - m("5100", "Saved", { userId: null, botId: "B1" }), + m("20000", "Please meet Dan at 734 Placido on Monday about the driveway"), + m("20100", "Saved", { userId: null, botId: "B1" }), ]; expect(pickUnanswered(msgs, new Map()).map((x) => x.msg.ts)).toEqual(["1000"]); - expect(pickUnanswered(msgs, new Map([["5000", "failed"]])).map((x) => x.msg.ts)).toEqual(["1000", "5000"]); + expect(pickUnanswered(msgs, new Map([["20000", "failed"]])).map((x) => x.msg.ts)).toEqual(["1000", "20000"]); }); it("разбирает раздел «Упущенные»", () => {