mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-10 04:27:42 +08:00
Use explicit void cleanup in preset integration test
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user