       disconnectionErrorCodes         .filter(code => code !== 0)         .forEach(errorCode => {           it('should set snackbar to disconnected for error code ' + errorCode, function() {             jest.spyOn(heartBeat, 'monitorDisconnect');             mock.get(/.*/, {               status: errorCode,               headers: { 'Content-Type': 'application/json' },             });             