code: def test_merging_multiple_json_configs():
      with open(
          os.path.join(
              os.path.dirname(__file__), "config/base_config.json"
          )
      ) as f:
          base_config = f.read()
      with open(
          os.path.join(
              os.path.dirname(__file__),
              "./config/first_override_config.json",
          )
      ) as f:
          override_config_1 = f.read()
      with open(
          os.path.join(
              os.path.dirname(__file__),
              "./config/second_override_config.json",
          )
      ) as f:
          override_config_2 = f.read()
      merged_config = config_handlers.merge_jsons_in_order(
          [base_config, override_config_1, override_config_2]
      )
      with open(
          os.path.join(
              os.path.dirname(__file__), "./config/final_config.json"
          )
      ) as f:
          expected_config = f.read()
      sorted_merged_config = json.dumps(
          json.loads(merged_config), sort_keys=True
      )
      sorted_expected_config = json.dumps(
          json.loads(expected_config), sort_keys=True
      )
      assert sorted_merged_config == sorted_expected_config
  
imports: import json
  import os
  from jiant.utils import config_handlers
label_desc: Use image node_id 2 for calling a global function with example usage: test_merging_multiple_json_configs() without return types