code: def test_clientside_callback_grouping_validation(grouping):
      """
      Clientside callbacks do not support dependency groupings yet, so we make sure that
      these are not allowed through validation.
  
      This test should be removed when grouping support is added for clientside
      callbacks.
      """
      app = dash.Dash()
  
      # Should pass validation with no groupings
      app.clientside_callback(
          ClientsideFunction("foo", "bar"),
          Output("output-a", "prop"),
          Input("input-a", "prop"),
      )
  
      # Validation error with output is a grouping
      with pytest.raises(dash.exceptions.IncorrectTypeException):
          app.clientside_callback(
              ClientsideFunction("foo", "bar"),
              make_dependency_grouping(grouping, [Output]),
              Input("input-a", "prop"),
          )
  
      # Validation error with input is a grouping
      with pytest.raises(dash.exceptions.IncorrectTypeException):
          app.clientside_callback(
              ClientsideFunction("foo", "bar"),
              Output("output-a", "prop"),
              make_dependency_grouping(grouping, [Input]),
          )
  
      # Validation error when both are groupings
      with pytest.raises(dash.exceptions.IncorrectTypeException):
          app.clientside_callback(
              ClientsideFunction("foo", "bar"),
              make_dependency_grouping(grouping, [Output]),
              make_dependency_grouping(grouping, [Input]),
          )
  
imports: import dash
  from dash._grouping import make_grouping_by_index, grouping_len, flatten_grouping
  from dash._utils import create_callback_id
  from dash.dependencies import Input, State, Output, ClientsideFunction
  import mock
  import json
  import string
  import pytest
  from fixtures import scalar_grouping_size, list_grouping_size, dict_grouping_size, mixed_grouping_size
label_desc: Use image node_id 12 for calling a global function with example usage: test_clientside_callback_grouping_validation(grouping) without return types