Prevent infinite repeated errors on leaving electron tests open
This commit is contained in:
parent
334fe32210
commit
3abaeb807d
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ describe('NetworkStatusView', function() {
|
||||||
|
|
||||||
after(function() {
|
after(function() {
|
||||||
window.getSocketStatus = oldGetSocketStatus;
|
window.getSocketStatus = oldGetSocketStatus;
|
||||||
|
window.getSocketStatus = function() { return WebSocket.OPEN; };
|
||||||
});
|
});
|
||||||
/* END stubbing globals */
|
/* END stubbing globals */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue