Use explicit void cleanup in preset integration test

This commit is contained in:
Dudu-0223 committed 2026-10-29 18:59:34 +08:00
1 parent 664e64debe
commit 0c08afe52f
1 file changed
+1 -1
+1 -1
View File
@@ -882,7 +882,7 @@ describe('a user preset declared from the shipped cordis rows', () => {
// answers with the shared registry's view of the REQUESTING agent,
// so the copy sees its own preset's tools, not the host's empty set.
const spills = vi.spyOn(copyCtx.spillStore, 'saveText')
onTestFinished(() => spills.mockRestore())
onTestFinished(() => { spills.mockRestore() })
const queried = await executeToolFixture(copyCtx, {
callId: ToolCallId('copied-preset-inspect-tools'),
name: 'cordis_inspect_query',