code: def setup_frontend_test(
      frontend: str, backend: str, device: str, test_data: TestData
  ):
      if test_data is not None:
          _set_test_data(test_data)
      _set_frontend(frontend)
      _set_backend(backend)
      _set_device(device)
  
file_path: ivy/ivy_tests/test_ivy/helpers/globals.py
imports: from dataclasses import dataclass
  from .pipeline_helper import get_frontend_config
label_desc: Use image node_id 3 for calling a global function with example usage: setup_frontend_test(frontend, backend, device, test_data) without return types