Fix electron test race condition with protobuf loading

pull/1/head
Scott Nonnenberg 7 years ago
parent 978ff0e2bb
commit 334fe32210
No known key found for this signature in database
GPG Key ID: 5F82280C35134661

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

@ -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();
});
});

@ -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>

Loading…
Cancel
Save