Fix electron test race condition with protobuf loading

This commit is contained in:
Scott Nonnenberg 2018-04-19 16:10:08 -07:00
parent 978ff0e2bb
commit 334fe32210
No known key found for this signature in database
GPG key ID: 5F82280C35134661
3 changed files with 3 additions and 3 deletions

View file

@ -2684,5 +2684,5 @@ Whisper.Fixtures = (function() {
}
return conversationCollection;
})();
});

View file

@ -5,7 +5,7 @@ describe("Fixtures", function() {
// NetworkStatusView checks this method every five seconds while showing
window.getSocketStatus = function() { return WebSocket.OPEN; };
Whisper.Fixtures.saveAll().then(function() {
Whisper.Fixtures().saveAll().then(function() {
done();
});
});

View file

@ -609,7 +609,7 @@
<script type="text/javascript" src="../js/chromium.js" data-cover></script>
<script type='text/javascript' src='../js/views/backbone_wrapper_view.js'></script>
<script type='text/javascript' src='../js/views/react_wrapper_view.js'></script>
<script type='text/javascript' src='../js/views/whisper_view.js' data-cover></script>
<script type='text/javascript' src='../js/views/debug_log_view.js' data-cover></script>
<script type='text/javascript' src='../js/views/toast_view.js' data-cover></script>