cleanup and unit tests (#4434)

* put socket.updateHistory behind SessionCommand

* rename /websocket files from .tsx to .ts

* add unit tests to websocket commands

* complete unit tests for webClient commands

* secure wss

Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
Jeremy Letto
2021-10-17 15:15:09 -05:00
committed by GitHub
parent e9ba195d7d
commit f75ff2a7c8
14 changed files with 611 additions and 48 deletions

View File

@@ -0,0 +1,7 @@
import protobuf from "protobufjs";
class MockProtobufRoot {
load() {}
}
(protobuf as any).Root = MockProtobufRoot;