test-electron: wait to run tests until protos are ready

This commit is contained in:
Evan Hahn 2020-11-04 11:44:32 -06:00 committed by Evan Hahn
parent 8e598688e7
commit 618c0fce1e
4 changed files with 54 additions and 28 deletions

4
ts/textsecure.d.ts vendored
View file

@ -212,7 +212,9 @@ type SubProtocolProtobufTypes = {
WebSocketResponseMessage: typeof WebSocketResponseMessageClass;
};
type ProtobufCollectionType = DeviceMessagesProtobufTypes &
type ProtobufCollectionType = {
onLoad: (callback: () => unknown) => void;
} & DeviceMessagesProtobufTypes &
DeviceNameProtobufTypes &
GroupsProtobufTypes &
SignalServiceProtobufTypes &