feat(fleet): system-type profiles (H2) (#660)
This commit was merged in pull request #660.
This commit is contained in:
@@ -82,6 +82,7 @@ describe('registerFleetCommand', () => {
|
||||
'init',
|
||||
'install',
|
||||
'install-systemd',
|
||||
'profile',
|
||||
'ps',
|
||||
'remove',
|
||||
'restart',
|
||||
@@ -92,6 +93,15 @@ describe('registerFleetCommand', () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it('registers the profile subcommand with list and show', () => {
|
||||
const program = buildProgram();
|
||||
const fleet = program.commands.find((command) => command.name() === 'fleet');
|
||||
const profile = fleet!.commands.find((command) => command.name() === 'profile');
|
||||
|
||||
expect(profile).toBeDefined();
|
||||
expect(profile!.commands.map((command) => command.name()).sort()).toEqual(['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