chore: cleanup flow and package.json

This commit is contained in:
Justin Starry
2021-02-08 00:57:12 +08:00
committed by Justin Starry
parent c675c67c26
commit f0a8aba2e2
50 changed files with 2167 additions and 285 deletions

View File

@@ -3,6 +3,7 @@
import {Client as LiveClient} from 'rpc-websockets';
import {expect} from 'chai';
import sinon from 'sinon';
import {Connection} from '../../src';
type RpcRequest = {
@@ -62,6 +63,7 @@ export const restoreRpcWebSocket = (connection: Connection) => {
};
class MockClient {
client: LiveClient;
mockOpen = false;
subscriptionCounter = 0;