Ayaan Zaidi
b00a1aaeae
test(telegram): give the media harness a bot identity instead of per-context ids
...
The previous commit patched me.id into 13 contexts in one suite. That treated the
symptom: the harness itself never passes botInfo, so resolveBotUserId has no
fallback when a test ctx carries only a username.
Fix the harness instead. Production always builds the bot from getMe(), so
botInfo is present in every real path; supplying telegramBotInfoForTest matches
that and drops the per-context ids.
Also revives bot.media.stickers-and-fragments.e2e.test.ts, which shares the
harness and failed 3/6 for the same reason and was not covered before.
The other ~84 bare me literals across 8 Telegram suites are fine: those tests
supply botInfo through their own harnesses. Verified, 371 pass, so no sweep.
2026-07-29 09:55:41 +09:00
..
2026-07-28 11:37:37 -04:00
2026-07-28 06:04:25 -04:00
2026-07-20 20:40:12 -07:00
2026-07-27 01:36:32 -04:00
2026-07-26 01:29:55 -04:00
2026-07-28 11:37:37 -04:00
2026-07-26 01:29:55 -04:00
2026-07-27 03:20:02 -04:00
2026-07-25 15:39:49 +08:00
2026-07-28 10:22:23 -04:00
2026-07-27 17:31:34 -04:00
2026-07-23 16:17:13 +00:00
2026-07-26 01:29:55 -04:00
2026-07-28 16:42:05 -04:00
2026-07-26 14:21:36 -05:00
2026-07-27 03:20:02 -04:00
2026-07-25 03:24:19 -07:00
2026-07-27 01:29:53 -04:00
2026-07-26 01:29:55 -04:00
2026-07-27 03:20:02 -04:00
2026-07-27 22:03:58 -04:00
2026-07-26 01:29:55 -04:00
2026-07-28 19:24:39 -04:00
2026-07-27 01:29:53 -04:00
2026-07-25 21:51:47 -07:00
2026-07-28 09:16:35 -04:00
2026-07-28 16:48:04 +08:00
2026-07-25 05:17:09 -07:00
2026-07-28 10:22:23 -04:00
2026-07-27 16:47:41 -04:00
2026-07-26 01:29:55 -04:00
2026-07-26 01:29:55 -04:00
2026-07-27 22:55:44 -04:00
2026-07-26 01:29:55 -04:00
2026-07-28 15:49:09 -04:00
2026-07-19 19:09:09 -07:00
2026-07-25 05:17:09 -07:00
2026-07-26 01:29:55 -04:00
2026-07-25 15:39:49 +08:00
2026-07-27 01:29:53 -04:00
2026-07-28 13:29:20 -04:00
2026-07-28 03:41:47 -04:00
2026-07-27 07:20:25 -04:00
2026-07-27 01:29:53 -04:00
2026-07-28 08:52:21 -04:00
2026-07-28 10:22:23 -04:00
2026-07-27 21:13:44 -04:00
2026-07-28 11:05:31 +02:00
2026-07-28 01:50:51 -04:00
2026-07-26 01:29:55 -04:00
2026-07-27 03:20:02 -04:00
2026-07-27 01:29:53 -04:00
2026-07-28 03:28:08 -05:00
2026-07-26 01:29:55 -04:00
2026-07-27 03:49:37 -04:00
2026-07-27 01:29:53 -04:00
2026-07-28 17:25:33 -04:00
2026-07-27 22:46:21 -04:00
2026-07-21 19:29:57 -06:00
2026-07-26 01:29:55 -04:00
2026-07-23 16:17:13 +00:00
2026-07-28 20:43:16 -04:00
2026-07-26 01:29:55 -04:00
2026-07-24 15:15:17 -07:00
2026-07-27 01:29:53 -04:00
2026-07-28 11:47:49 -05:00
2026-07-28 19:54:39 -05:00
2026-07-29 00:55:13 +01:00
2026-07-27 06:39:47 -04:00
2026-07-28 03:41:47 -04:00
2026-07-27 01:29:53 -04:00
2026-07-25 05:30:52 -07:00
2026-07-25 08:33:05 -07:00
2026-07-27 03:42:00 -04:00
2026-07-27 16:47:41 -04:00
2026-07-27 01:29:53 -04:00
2026-07-27 16:47:41 -04:00
2026-07-28 08:47:51 -04:00
2026-07-26 01:29:55 -04:00
2026-07-27 03:49:37 -04:00
2026-07-28 13:34:23 -04:00
2026-07-28 10:22:23 -04:00
2026-07-28 10:22:23 -04:00
2026-07-27 05:44:16 -04:00
2026-07-28 08:52:21 -04:00
2026-07-27 03:15:17 -04:00
2026-07-28 17:38:15 -04:00
2026-07-28 11:37:37 -04:00
2026-07-28 08:52:21 -04:00
2026-07-28 01:10:17 -04:00
2026-07-28 14:53:46 -04:00
2026-07-26 01:29:55 -04:00
2026-07-26 01:29:55 -04:00
2026-07-26 01:29:55 -04:00
2026-07-27 05:44:16 -04:00
2026-07-28 13:00:22 -04:00
2026-07-28 16:42:05 -04:00
2026-07-28 08:52:21 -04:00
2026-07-27 17:12:41 -04:00
2026-07-27 14:15:53 -04:00
2026-07-27 03:49:37 -04:00
2026-07-27 11:27:53 +10:00
2026-07-25 15:39:49 +08:00
2026-07-26 01:29:55 -04:00
2026-07-28 08:41:14 -04:00
2026-07-29 00:00:12 +08:00
2026-07-28 14:41:50 -05:00
2026-07-27 03:49:37 -04:00
2026-07-26 01:29:55 -04:00
2026-07-27 03:49:37 -04:00
2026-07-27 01:29:53 -04:00
2026-07-26 01:29:55 -04:00
2026-07-27 05:44:16 -04:00
2026-07-29 09:55:41 +09:00
2026-07-26 01:29:55 -04:00
2026-07-19 20:48:44 -07:00
2026-07-28 06:53:37 -04:00
2026-07-28 10:22:23 -04:00
2026-07-26 01:29:55 -04:00
2026-07-28 07:08:56 -04:00
2026-07-26 01:29:55 -04:00
2026-07-28 08:52:21 -04:00
2026-07-27 01:29:53 -04:00
2026-07-28 08:41:14 -04:00
2026-07-28 11:47:39 -04:00
2026-07-28 08:52:21 -04:00
2026-07-25 15:39:49 +08:00
2026-07-23 16:17:13 +00:00
2026-07-28 05:25:58 +00:00
2026-07-27 20:56:44 -04:00
2026-07-28 17:38:15 -04:00
2026-07-27 16:47:41 -04:00
2026-07-27 16:47:41 -04:00
2026-07-28 01:50:51 -04:00
2026-07-27 23:04:28 -04:00
2026-07-27 05:44:16 -04:00
2026-07-25 21:51:47 -07:00
2026-07-27 20:20:13 -04:00
2026-07-25 21:51:47 -07:00