mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-11 13:37:47 +08:00
test: expect the Host Schedule tools in the legacy preset patch case
The shipped Web bundle gives every live root Agent the Host Schedule tools, and every other scenario in this file that boots the shipped base/web bundle with the minimal preset expects ['bash', ...SCHEDULE_TOOLS]. This case uses the same bootWeb composition and adds only a settings patch, which does not change tool composition, so its ['bash'] expectation failed on every PR.
This commit is contained in:
@@ -912,7 +912,7 @@ describe('a profile patch stored before Developer tools owned preset selection',
|
||||
setup: agentCtx => legacy.agentPresets.mount(agentCtx).then(() => undefined),
|
||||
})
|
||||
try {
|
||||
expect(toolNames(legacy, handle.agent)).toEqual(['bash'])
|
||||
expect(toolNames(legacy, handle.agent)).toEqual(['bash', ...SCHEDULE_TOOLS])
|
||||
} finally {
|
||||
await handle.dispose()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user