test: align reset prompt expectation

This commit is contained in:
Peter Steinberger
2026-04-17 00:05:12 +01:00
parent ed04d38bec
commit f8bac822b6

View File

@@ -1052,9 +1052,7 @@ describe("gateway agent handler", () => {
expect(mocks.performGatewaySessionReset).toHaveBeenCalledTimes(1);
const call = readLastAgentCommandCall();
// Message is now dynamically built with current date — check key substrings
expect(call?.message).toContain(
"If runtime-provided startup context is included for this first turn",
);
expect(call?.message).toContain("Execute your Session Startup sequence now");
expect(call?.message).toContain("Current time:");
expect(call?.message).not.toBe(BARE_SESSION_RESET_PROMPT);
expect(call?.sessionId).toBe("reset-session-id");