code: def test_spec_to_vegalite_mimebundle(vegalite_spec):
      bundle = spec_to_mimebundle(
          spec=vegalite_spec,
          mode="vega-lite",
          format="vega-lite",
          vegalite_version=alt.VEGALITE_VERSION,
      )
      assert bundle == {
          "application/vnd.vegalite.v5+json": vegalite_spec
      }
  
file_path: altair/tests/utils/test_mimebundle.py
imports: import pytest
  import altair
  from altair import VEGA_VERSION
  from altair.utils.mimebundle import spec_to_mimebundle
label_desc: Use image node_id 4 for calling a global function with example usage: test_spec_to_vegalite_mimebundle(vegalite_spec) without return types