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:
1 parent
3c9c18c9fe
commit
1fa5ea3faa
1 file changed
+1
-1
@@ -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