import { describe, expect, it } from 'vitest'; import { rootCommand } from '../src/root-command.js'; describe('rootCommand', () => { it('registers all top-level subcommand groups', () => { const registeredSubcommands = rootCommand.commands .map((command) => command.name()) .sort((left, right) => left.localeCompare(right)); expect(registeredSubcommands).toEqual([ 'coord', 'prdy', 'quality-rails', 'queue', ]); }); });