






















@@ -496,7 +496,7 @@ describe("telegram live qa runtime", () => {
496496});
497497498498it("asserts long Telegram final replies reuse the streamed preview message", () => {
499-expect(() =>
499+expect(
500500__testing.assertTelegramScenarioMessageSet({
501501expectedJoinedSutTextIncludes: ["TELEGRAM-LONG-FINAL-BEGIN", "TELEGRAM-LONG-FINAL-END"],
502502expectedSutMessageCount: 2,
@@ -534,7 +534,7 @@ describe("telegram live qa runtime", () => {
534534},
535535],
536536}),
537-).not.toThrow();
537+).toBeUndefined();
538538539539expect(() =>
540540__testing.assertTelegramScenarioMessageSet({
@@ -591,7 +591,7 @@ describe("telegram live qa runtime", () => {
591591});
592592593593it("accepts legitimate three-chunk Telegram final replies", () => {
594-expect(() =>
594+expect(
595595__testing.assertTelegramScenarioMessageSet({
596596expectedJoinedSutTextIncludes: [
597597"TELEGRAM-LONG-FINAL-3CHUNK-BEGIN",
@@ -646,7 +646,7 @@ describe("telegram live qa runtime", () => {
646646},
647647],
648648}),
649-).not.toThrow();
649+).toBeUndefined();
650650});
651651652652it("matches scenario replies by thread or exact marker", () => {
@@ -716,7 +716,7 @@ describe("telegram live qa runtime", () => {
716716});
717717718718it("validates expected Telegram reply markers", () => {
719-expect(() =>
719+expect(
720720__testing.assertTelegramScenarioReply({
721721expectedTextIncludes: ["🧭 Identity", "Channel: telegram"],
722722message: {
@@ -733,7 +733,7 @@ describe("telegram live qa runtime", () => {
733733mediaKinds: [],
734734},
735735}),
736-).not.toThrow();
736+).toBeUndefined();
737737expect(() =>
738738__testing.assertTelegramScenarioReply({
739739expectedTextIncludes: ["Use /tools verbose for descriptions."],
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。