code: def test_nodejs_compile_less() -> None:
      assert buc.nodejs_compile(
          """.bk-some-style { color: mix(#ff0000, #0000ff, 50%); }""",
          "less",
          "some.less",
      ) == dict(code=""".bk-some-style{color:#800080}""")
  
      assert buc.nodejs_compile(
          """.bk-some-style color: green; }""", "less", "some.less"
      ) == dict(
          error="ParseError: Unrecognised input in some.less on line 1, column 21:\n1 .bk-some-style color: green; }\n"
      )
  
file_path: bokeh/tests/unit/bokeh/util/test_compiler.py
imports: from __future__ import annotations
  import pytest
  import json
  import os
  from unittest.mock import MagicMock, patch
  import bokeh.util.compiler
label_desc: Use image node_id 2 for calling a global function with example usage: test_nodejs_compile_less() without return types