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

@ -18,16 +18,15 @@ import { promises as fs } from "fs";
import * as api from "@fluencelabs/aqua-api/aqua-api.js";
import {
ClientConfig,
FunctionCallDef,
JSONArray,
PassedArgs,
RelayOptions,
ServiceDef,
} from "@fluencelabs/interfaces";
import { Subject, Subscribable } from "rxjs";
import { ClientPeer, makeClientPeerConfig } from "../clientPeer/ClientPeer.js";
import { ClientConfig, RelayOptions } from "../clientPeer/types.js";
import { callAquaFunction } from "../compilerSupport/callFunction.js";
import { IConnection } from "../connection/interfaces.js";
import { DEFAULT_CONFIG, FluencePeer } from "../jsPeer/FluencePeer.js";