mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-10-21 22:39:45 +00:00
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:
parent
34894db1d6
commit
279c5440eb
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue