@assurka/jest
Version:
Assurka Jest Plugin
59 lines • 1.31 kB
TypeScript
export interface AssurkaVariable {
name: string;
description?: string;
simpleValue?: any;
complexValue: any;
}
/**
*
*
* @export
* @class Assurka
*/
export declare class Assurka {
private port;
/**
*Creates an instance of Assurka.
* @param {number} [port]
* @memberof Assurka
*/
constructor(port?: number);
/**
* Retrieves a specific variable from the Assurka Server
*
* @memberof Assurka
*/
getVariable: (name: string) => Promise<any>;
/**
* Retrieves the variables from the Assurka Server
*
* @memberof Assurka
*/
getVariables: () => Promise<any>;
/**
* Sets a variable on the Assurka Server
*
* @memberof Assurka
*/
setVariable: (variable: AssurkaVariable) => Promise<any>;
/**
* Sets multiple variables on the Assurka Server at once
*
* @memberof Assurka
*/
setVariables: (variables: AssurkaVariable[]) => Promise<any>;
/**
* Check to see if the Assurka Server is running
*
* @memberof Assurka
*/
isServerRunning: () => Promise<unknown>;
/**
* Internal API calls to the Assurka Server
*
* @private
* @memberof Assurka
*/
private internalApi;
}
//# sourceMappingURL=assurka.d.ts.map