cypress-signalr-mock
Version:
An easy way to mock a SignalR server which can send and receive messages during Cypress tests.
10 lines (9 loc) • 332 B
TypeScript
export default class Log {
private static _prefix;
private static _logLevel;
static debug(message: string): void;
static info(message: string, value?: any): void;
static warn(message: string): void;
static error(message: string, throwError?: boolean): void;
static setLogLevel(logLevel: number): void;
}