code: def make_component_dir(load_test_metadata_json):
      # Create a folder for the new component file
      os.makedirs("TableComponents")
  
      yield load_test_metadata_json
  
      shutil.rmtree("TableComponents")
  
file_path: dash/tests/unit/development/test_generate_class_file.py
imports: import os
  import shutil
  from difflib import unified_diff
  import pytest
  from dash.development._py_components_generation import generate_class_string, generate_class_file
  from .None import _dir, has_trailing_space
label_desc: Use image node_id 1 for calling a global function with example usage: make_component_dir(load_test_metadata_json) without return types