style(memory): let Prettier reflow the suppressed-selector assertion

Lint & Static failed at step "Run Prettier" on 34894db1d6 with
"[warn] packages/core/src/memory/recall.test.ts / Code style issues found
in 1 file". Prettier 3.6.1 reproduces it locally and --write produces this
two-line reflow of the `mock.calls[0]?.[2] ?? []` member chain; the
expression is unchanged, so this is formatting only.

Verified: prettier --check now passes on this file and on all 13 files the
branch changes. Test execution is left to CI (no node_modules in this
worktree).

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Patrol-Run: qwen-pr-conflict/jmurrend91n
This commit is contained in:
jinjing.zzj 2026-10-03 10:50:02 +08:00
parent 34894db1d6
commit 279c5440eb

View file

@ -1196,8 +1196,8 @@ describe('auto-memory relevant recall', () => {
expect(selectRelevantAutoMemoryDocumentsByModel).toHaveBeenCalledOnce();
// The suppressed selector would have seen B, so the recall was ambiguous.
expect(
vi.mocked(selectRelevantAutoMemoryDocumentsByModel).mock.calls[0]?.[2] ??
[],
vi.mocked(selectRelevantAutoMemoryDocumentsByModel).mock
.calls[0]?.[2] ?? [],
).toContainEqual(strongBelowWindow);
expect(result.selectorSkipped).toBeUndefined();
});