All files / sportident-testbench-shell/src/commands index.ts

100% Statements 11/11
100% Branches 0/0
100% Functions 1/1
100% Lines 9/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 311x 1x 1x 1x 1x 1x 1x 1x                         1x                    
import {GetHolderCommand} from './getHolder';
import {GetInfoCommand} from './getInfo';
import {SetInfoCommand} from './setInfo';
import {GetBackupCommand} from './getBackup';
import {TestCommand} from './test';
import {SendCommand} from './send';
import {PipeCommand} from './pipe';
import {SimulateCommand} from './simulate';
 
type SiShellCommands = {
    'getHolder': GetHolderCommand,
    'getInfo': GetInfoCommand,
    'setInfo': SetInfoCommand,
    'getBackup': GetBackupCommand,
    'test': TestCommand,
    'send': SendCommand,
    'pipe': PipeCommand,
    'simulate': SimulateCommand,
};
 
export const getSiShellCommands = (): SiShellCommands => ({
    'getHolder': new GetHolderCommand(),
    'getInfo': new GetInfoCommand(),
    'setInfo': new SetInfoCommand(),
    'getBackup': new GetBackupCommand(),
    'test': new TestCommand(),
    'send': new SendCommand(),
    'pipe': new PipeCommand(),
    'simulate': new SimulateCommand(),
});