From 539083811eb12b0dcf7b2ec64c69134cf683b8c4 Mon Sep 17 00:00:00 2001 From: "openclaw-docs-agent[bot]" Date: Thu, 23 Apr 2026 22:36:56 +0000 Subject: [PATCH] docs: refresh documentation --- docs/help/testing.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/help/testing.md b/docs/help/testing.md index 2011436927c..f626c263c60 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -379,6 +379,10 @@ Think of the suites as “increasing realism” (and increasing flakiness/cost): import-breakdown output. - `pnpm test:perf:imports:changed` scopes the same profiling view to files changed since `origin/main`. + - When one hot test still spends most of its time in startup imports, + keep heavy dependencies behind a narrow local `*.runtime.ts` seam and + mock that seam directly instead of deep-importing runtime helpers just + to pass them through `vi.mock(...)`. - `pnpm test:perf:changed:bench -- --ref ` compares routed `test:changed` against the native root-project path for that committed diff and prints wall time plus macOS max RSS.