Cleanup tests (& fix ws.connect()) (#5493)

* Cleanup tests (& fix ws.connect())

* Await mock

* Adjust sc connect ordering
This commit is contained in:
Jaco
2023-02-17 11:57:34 +02:00
committed by GitHub
parent 361a77580e
commit 40810f2fdb
16 changed files with 125 additions and 128 deletions
@@ -21,7 +21,7 @@ describe('ExtrinsicPayload', (): void => {
expect(new ExtrinsicPayload(registry, { method: tx.timestamp.set(0).toHex() } as never).inspect()).toEqual({
inner: [
{ name: 'method', outer: [new Uint8Array([3, 0, 0])] },
{ name: 'era', outer: [new Uint8Array([0]), new Uint8Array([0])] },
{ inner: undefined, name: 'era', outer: [new Uint8Array([0]), new Uint8Array([0])] },
{ name: 'nonce', outer: [new Uint8Array([0])] },
{ name: 'tip', outer: [new Uint8Array([0])] },
{ name: 'assetId', outer: [new Uint8Array([0])] },