test-electron: wait to run tests until protos are ready
This commit is contained in:
parent
8e598688e7
commit
618c0fce1e
4 changed files with 54 additions and 28 deletions
|
@ -397,13 +397,15 @@
|
|||
|
||||
<!-- Uncomment to start tests without code coverage enabled -->
|
||||
<script type="text/javascript">
|
||||
window.Signal.conversationControllerStart();
|
||||
window.textsecure.protobuf.onLoad(() => {
|
||||
window.Signal.conversationControllerStart();
|
||||
|
||||
window.test.pendingDescribeCalls.forEach(args => {
|
||||
describe(...args);
|
||||
window.test.pendingDescribeCalls.forEach(args => {
|
||||
describe(...args);
|
||||
});
|
||||
|
||||
mocha.run();
|
||||
});
|
||||
|
||||
mocha.run();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue