Prevent infinite repeated errors on leaving electron tests open
This commit is contained in:
parent
334fe32210
commit
3abaeb807d
|
@ -14,6 +14,7 @@ describe('NetworkStatusView', function() {
|
|||
|
||||
after(function() {
|
||||
window.getSocketStatus = oldGetSocketStatus;
|
||||
window.getSocketStatus = function() { return WebSocket.OPEN; };
|
||||
});
|
||||
/* END stubbing globals */
|
||||
|
||||
|
|
Loading…
Reference in New Issue