code: def mock_start_websocket():
      """Avoid starting the websocket."""
      with mock.patch(
          "lightning.app.frontend.panel.app_state_comm._start_websocket",
          do_nothing,
      ):
          yield
  
file_path: pytorch-lightning/tests/tests_app/frontend/conftest.py
imports: from unittest import mock
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: mock_start_websocket() without return types