code: def get_test_params_for_component(
      component: Text,
  ) -> Dict[Text, Union[Text, int]]:
      return (
          COMPONENTS_TEST_PARAMS[component]
          if component in COMPONENTS_TEST_PARAMS
          else {}
      )
  
imports: from pathlib import Path
  import pytest
  from _pytest.tmpdir import TempPathFactory
  from rasa.core.agent import Agent
  from rasa.core.policies.policy import Policy
  from rasa.engine.storage.local_model_storage import LocalModelStorage
  from rasa.shared.nlu.training_data.formats import RasaYAMLReader
  from rasa.utils.tensorflow.constants import EPOCHS, RUN_EAGERLY
  from typing import Any, Dict, List, Tuple, Text, Union, Optional
  import rasa.model_training
  import rasa.shared.utils.io
  import rasa.engine.recipes.default_components
label_desc: Use image node_id 1 for calling a global function with example usage: get_test_params_for_component(component) and returns: unknown