Fix electron test race condition with protobuf loading
This commit is contained in:
@@ -2684,5 +2684,5 @@ Whisper.Fixtures = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return conversationCollection;
|
return conversationCollection;
|
||||||
})();
|
});
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ describe("Fixtures", function() {
|
|||||||
// NetworkStatusView checks this method every five seconds while showing
|
// NetworkStatusView checks this method every five seconds while showing
|
||||||
window.getSocketStatus = function() { return WebSocket.OPEN; };
|
window.getSocketStatus = function() { return WebSocket.OPEN; };
|
||||||
|
|
||||||
Whisper.Fixtures.saveAll().then(function() {
|
Whisper.Fixtures().saveAll().then(function() {
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -609,7 +609,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript" src="../js/chromium.js" data-cover></script>
|
<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/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/debug_log_view.js' data-cover></script>
|
||||||
<script type='text/javascript' src='../js/views/toast_view.js' data-cover></script>
|
<script type='text/javascript' src='../js/views/toast_view.js' data-cover></script>
|
||||||
|
Reference in New Issue
Block a user