MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_current_js_engine

Method get_current_js_engine

test/common.py:1002–1004  ·  view source on GitHub ↗

Return the default JS engine to run tests under.

(self)

Source from the content-addressed store, hash-verified

1000 return len(non_data_lines)
1001
1002 def get_current_js_engine(self):
1003 """Return the default JS engine to run tests under."""
1004 return self.js_engines[0]
1005
1006 def engine_is_bun(self):
1007 return engine_is_bun(self.get_current_js_engine())

Callers 9

setUpMethod · 0.95
engine_is_bunMethod · 0.95
engine_is_denoMethod · 0.95
engine_is_nodeMethod · 0.95
get_engine_with_argsMethod · 0.95
test_jsrunMethod · 0.80
test_node_evalMethod · 0.80
test_dlfcn_missingMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_jsrunMethod · 0.64
test_node_evalMethod · 0.64
test_dlfcn_missingMethod · 0.64