feat(fleet): update-surviving persona customization (H4) (#661)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful

This commit was merged in pull request #661.
This commit is contained in:
2026-06-24 16:21:01 +00:00
parent a738ac1410
commit 84d2757817
6 changed files with 688 additions and 51 deletions

View File

@@ -82,6 +82,7 @@ describe('registerFleetCommand', () => {
'init',
'install',
'install-systemd',
'persona',
'profile',
'ps',
'remove',
@@ -102,6 +103,19 @@ describe('registerFleetCommand', () => {
expect(profile!.commands.map((command) => command.name()).sort()).toEqual(['list', 'show']);
});
it('registers the persona subcommand with list, show, and customize', () => {
const program = buildProgram();
const fleet = program.commands.find((command) => command.name() === 'fleet');
const persona = fleet!.commands.find((command) => command.name() === 'persona');
expect(persona).toBeDefined();
expect(persona!.commands.map((command) => command.name()).sort()).toEqual([
'customize',
'list',
'show',
]);
});
it('registers the backlog subcommand with its operations', () => {
const program = buildProgram();
const fleet = program.commands.find((command) => command.name() === 'fleet');