UNPKG

@intuitionrobotics/testelot

Version:
13 lines (12 loc) 1 kB
import { LogLevel } from "@intuitionrobotics/ts-common"; import { Action_Custom, Action_Http, Action_Log, Action_Sleep, Action_ThrowException, ContextKey, HttpMethod, Scenario } from "../index"; import { Reporter } from "./Reporter"; export declare function __log(logMessage: string, level?: LogLevel): Action_Log; export declare function __sleep(sleepMs: number): Action_Sleep; export declare function __http<T extends object = any>(method: HttpMethod): Action_Http; export declare function __custom<P = any, R = any>(action: (action: Action_Custom, param?: P) => Promise<R>): Action_Custom; export declare function __compareKeys<P = any>(key1: ContextKey<P>, key2: ContextKey<P>): Action_Custom; export declare function __scenario(label: string | (() => string), reporter?: Reporter): Scenario; export declare function __throwException(message: string): Action_ThrowException; export declare function enableTerminalLogReWrite(): void; export declare function _executeScenario(scenario: Scenario): void;