Skip to content

Commit ff8a84e

Browse files
committed
Updating the command discovery unit test.
1 parent 3684c19 commit ff8a84e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit/utils/command-discovery.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ describe('discoverCommandDirectories', () => {
8888
const dirs = discoverCommandDirectories(cwd);
8989
// Should not crash
9090
// Since existsSync returns true, core commands ARE found.
91-
expect(dirs).toHaveLength(1);
91+
expect(dirs).toHaveLength(2);
92+
expect(dirs).toContain(path.resolve('/app/src/commands'));
9293
expect(dirs).toContain(path.resolve('/app/src/core/commands'));
9394
});
9495

0 commit comments

Comments
 (0)