mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-12 01:52:17 -10: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 <[email protected]>
Patrol-Run: qwen-pr-conflict/jmurrend91n
This commit is contained in:
1 parent
34894db1d6
commit
279c5440eb
1 file changed
+2
-2
@@ -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();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user