tests: art_pull in the local-write tools, art_live / art_thumb in the store-only reads, onboard tests without the art step

This commit is contained in:
CRTkafa 2026-10-14 04:28:03 +08:00
parent 00be838b76
commit 81915651bd
3 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@ describe('mcp tools', () => {
}
}
// the local-write exception covers only the pull tools, and only with dry_run false
expect(Object.keys(LOCAL_WRITE_TOOLS).sort()).toEqual(['apple_listing_pull', 'catalog_pull', 'onboard', 'play_listing_pull']);
expect(Object.keys(LOCAL_WRITE_TOOLS).sort()).toEqual(['apple_listing_pull', 'art_pull', 'catalog_pull', 'onboard', 'play_listing_pull']);
for (const n of Object.keys(LOCAL_WRITE_TOOLS)) expect(toArgv(TOOLS.find(t => t.name === n)!, {}).argv).not.toContain('--write');
const phased = TOOLS.find(t => t.name === 'apple_phased_release')!;
expect(phased.props!.action!.enum).toEqual(['on', 'pause']);