Skip to content

Commit d349090

Browse files
committed
test(agent): update target-count assertions for kiro (6 targets)
1 parent 00805b3 commit d349090

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/commands/agent.test.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -723,13 +723,14 @@ describe('runList', () => {
723723

724724
const json = JSON.parse(capture.stdout.join('\n')) as ListResult[];
725725
expect(Array.isArray(json)).toBe(true);
726-
expect(json).toHaveLength(5);
726+
expect(json).toHaveLength(6);
727727
const targets = json.map(r => r.target);
728728
expect(targets).toContain('claude');
729729
expect(targets).toContain('cursor');
730730
expect(targets).toContain('cline');
731731
expect(targets).toContain('antigravity');
732732
expect(targets).toContain('codex');
733+
expect(targets).toContain('kiro');
733734
const claudeEntry = json.find(r => r.target === 'claude');
734735
expect(claudeEntry?.status).toBe('ga');
735736
expect(claudeEntry?.path).toBe(TARGETS.claude.path);
@@ -860,8 +861,8 @@ describe('createAgentCommand wiring', () => {
860861
// All four own-file targets installed at once
861862
// ---------------------------------------------------------------------------
862863

863-
describe('runInstall — all four own-file targets', () => {
864-
it('installs all four own-file targets in one invocation', async () => {
864+
describe('runInstall — all own-file targets', () => {
865+
it('installs all own-file targets in one invocation', async () => {
865866
const { store, fs: agentFs } = makeMemFs();
866867
const { capture, deps } = makeCapture();
867868

@@ -871,7 +872,7 @@ describe('runInstall — all four own-file targets', () => {
871872
output: 'text',
872873
debug: false,
873874
dryRun: false,
874-
target: ['claude', 'cursor', 'cline', 'antigravity'],
875+
target: ['claude', 'cursor', 'cline', 'antigravity', 'kiro'],
875876
force: false,
876877
},
877878
{ cwd: CWD, fs: agentFs, ...deps },

0 commit comments

Comments
 (0)