test: tighten feishu startup warning assertion

This commit is contained in:
Shakker 2026-05-10 22:56:30 +01:00
parent 420afc7117
commit f8e5ef9f76
No known key found for this signature in database

View file

@ -168,7 +168,7 @@ describe("Feishu monitor startup preflight", () => {
await waitForStartedAccount(started, "beta");
expect(started).toEqual(["alpha", "beta"]);
expect(runtime.error).toHaveBeenCalledWith(
expect.stringContaining("bot info probe timed out"),
"feishu[alpha]: bot info probe timed out after 30000ms; continuing startup",
);
} finally {
releaseStartedBetaProbe();