UNPKG

@iotize/tap-scripts

Version:

IoTize Tap scripts

14 lines (13 loc) 725 B
import '@iotize/tap/auth'; import { LoginInstructionContext } from '../antlr4/IoTizeTestParser'; import { TestRunnerContextInterface } from '../test-runner-context-interface'; import { AbstractInstruction } from './abstract-instruction'; export declare class LoginInstruction extends AbstractInstruction<void> { protected username: string; protected password: string; expectedResultCode?: number | undefined; parserContext?: LoginInstructionContext | undefined; constructor(username: string, password: string, expectedResultCode?: number | undefined, parserContext?: LoginInstructionContext | undefined); run(context: TestRunnerContextInterface): Promise<void>; toString(): string; }