fix(tests): Repair integration tests [fixes DXJ-506] (#364)

* Add test server

* remove headless

* Support for web-cra

* Review fixes and bug fixes

* Add error message
This commit is contained in:
Akim
2023-10-18 08:38:49 +07:00
committed by GitHub
parent 29ec812fc1
commit 36c7619b4a
18 changed files with 216 additions and 138 deletions

View File

@ -15,7 +15,6 @@
*/
import { JSONValue } from "../commonTypes.js";
import { IFluenceInternalApi } from "../fluenceClient.js";
import {
FnConfig,
@ -38,11 +37,12 @@ export type PassedArgs = { [key: string]: JSONValue | ArgCallbackFunction };
/**
* Arguments for callAquaFunction function
*/
// TODO: move to js-client side
export interface CallAquaFunctionArgs {
/**
* Peer to call the function on
*/
peer: IFluenceInternalApi;
peer: unknown;
/**
* Function definition
@ -79,7 +79,7 @@ export interface RegisterServiceArgs {
/**
* Peer to register the service on
*/
peer: IFluenceInternalApi;
peer: unknown;
/**
* Service definition