MCPcopy
hub / github.com/python-visualization/folium / test_tojavascript_with_jscode

Function test_tojavascript_with_jscode

tests/test_template.py:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def test_tojavascript_with_jscode():
8 js_code = JsCode("console.log('Hello, World!')")
9 assert tojavascript(js_code) == "console.log('Hello, World!')"
10
11
12def test_tojavascript_with_element():

Callers

nothing calls this directly

Calls 2

JsCodeClass · 0.90
tojavascriptFunction · 0.90

Tested by

no test coverage detected