mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 08:50:36 +00:00
Session: enforce startup sequence on bare reset greeting
This commit is contained in:
@@ -229,6 +229,7 @@ export async function runGreetingPromptForBareNewOrReset(params: {
|
||||
expect(getRunEmbeddedPiAgentMock()).toHaveBeenCalledOnce();
|
||||
const prompt = getRunEmbeddedPiAgentMock().mock.calls[0]?.[0]?.prompt ?? "";
|
||||
expect(prompt).toContain("A new session was started via /new or /reset");
|
||||
expect(prompt).toContain("Execute your Session Startup sequence now");
|
||||
}
|
||||
|
||||
export function installTriggerHandlingE2eTestHooks() {
|
||||
|
||||
Reference in New Issue
Block a user