feat(fleet): update-surviving persona customization (H4) (#661)
This commit was merged in pull request #661.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user