Prevent infinite repeated errors on leaving electron tests open

This commit is contained in:
Scott Nonnenberg 2018-04-20 12:03:54 -07:00
parent 334fe32210
commit 3abaeb807d
No known key found for this signature in database
GPG key ID: 5F82280C35134661

View file

@ -14,6 +14,7 @@ describe('NetworkStatusView', function() {
after(function() {
window.getSocketStatus = oldGetSocketStatus;
window.getSocketStatus = function() { return WebSocket.OPEN; };
});
/* END stubbing globals */