Skip to content

Commit 59ceb8f

Browse files
committed
test(cli): update test to expect 7 commands including validate
Update CLI test expectation from 6 to 7 commands to account for the newly added validate command in the command registration.
1 parent 52436f8 commit 59ceb8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ describe('CLI Entry Point', () => {
146146
it('should set action handlers for commands', async () => {
147147
await import('./cli.js');
148148

149-
// Should call action 6 times (once for each command)
150-
expect(mockAction).toHaveBeenCalledTimes(6);
149+
// Should call action 7 times (once for each command: convert, move, split, join, merge, index, validate)
150+
expect(mockAction).toHaveBeenCalledTimes(7);
151151
});
152152

153153
it('should add help text for convert command', async () => {

0 commit comments

Comments
 (0)