code: def test_other_types_of_facet_in_metadata():
      with make_app_client(
          metadata={
              "databases": {
                  "fixtures": {
                      "tables": {
                          "facetable": {
                              "facets": [
                                  "state",
                                  {"array": "tags"},
                                  {"date": "created"},
                              ]
                          }
                      }
                  }
              }
          }
      ) as client:
          response = client.get("/fixtures/facetable")
          for fragment in (
              "<strong>created (date)\n",
              "<strong>tags (array)\n",
              "<strong>state\n",
          ):
              assert fragment in response.text
  
file_path: datasette/tests/test_facets.py
imports: from datasette.app import Datasette
  from datasette.database import Database
  from datasette.facets import ColumnFacet, ArrayFacet, DateFacet
  from datasette.utils.asgi import Request
  from datasette.utils import detect_json1
  from .fixtures import make_app_client
  import json
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_other_types_of_facet_in_metadata() without return types