From a07b6059bf703dfd599cf375a6723fe67b73b56d Mon Sep 17 00:00:00 2001 From: David Emett Date: Tue, 1 Aug 2023 15:09:33 +0100 Subject: [PATCH] Expose WsProvider to scripts as zombie.WsProvider (#1212) --- javascript/packages/orchestrator/src/test-runner/assertions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascript/packages/orchestrator/src/test-runner/assertions.ts b/javascript/packages/orchestrator/src/test-runner/assertions.ts index 56e047c2f..3e3f87f5d 100644 --- a/javascript/packages/orchestrator/src/test-runner/assertions.ts +++ b/javascript/packages/orchestrator/src/test-runner/assertions.ts @@ -1,4 +1,4 @@ -import { ApiPromise, Keyring } from "@polkadot/api"; +import { ApiPromise, Keyring, WsProvider } from "@polkadot/api"; import { decorators, isValidHttpUrl } from "@zombienet/utils"; import { assert, expect } from "chai"; import execa from "execa"; @@ -291,6 +291,7 @@ const CustomJs = ({ (global as any).zombie = { ApiPromise, Keyring, + WsProvider, util: utilCrypto, connect, registerParachain,