Cockatrice/webclient/src/setupTests.ts
Jeremy Letto f75ff2a7c8
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>
2021-10-17 16:15:09 -04:00

7 lines
119 B
TypeScript

import protobuf from "protobufjs";
class MockProtobufRoot {
load() {}
}
(protobuf as any).Root = MockProtobufRoot;