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

View file

@ -52,8 +52,10 @@
<!-- Uncomment to start tests without code coverage enabled -->
<script type="text/javascript">
mocha.run();
window.Signal.conversationControllerStart();
window.textsecure.protobuf.onLoad(() => {
mocha.run();
window.Signal.conversationControllerStart();
});
</script>
</body>
</html>