Skip to content

Commit dd8d94c

Browse files
committed
Update test
1 parent 6a36994 commit dd8d94c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cli/src/__tests__/commands/skill.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ describe('skill command', () => {
7373

7474
expect(ui.warning).toHaveBeenCalledWith('Skill selection cancelled.');
7575
expect(ui.error).not.toHaveBeenCalled();
76-
expect(process.exit).not.toHaveBeenCalled();
7776
});
7877

7978
it('registers the add command with an optional skill-name argument', () => {
@@ -84,6 +83,6 @@ describe('skill command', () => {
8483
const addCommand = skillCommand?.commands.find(command => command.name() === 'add');
8584

8685
expect(addCommand?.usage()).toContain('<registry-repo>');
87-
expect(addCommand?.usage()).toContain('[skill-name]');
86+
expect(addCommand?.usage()).toContain('<skill-name>');
8887
});
8988
});

0 commit comments

Comments
 (0)