MCPcopy Create free account
hub / github.com/nodejs/node / find_os_context_factory

Function find_os_context_factory

deps/v8/tools/testrunner/local/context.py:125–128  ·  view source on GitHub ↗
(target_os)

Source from the content-addressed store, hash-verified

123# its components gets initialized and eventually teared down and how does it
124# interact with both tests and underlying platform specific concerns.
125def find_os_context_factory(target_os):
126 registry = dict(
127 android=AndroidOSContext, ios=IOSContext, windows=WindowsContext)
128 return registry.get(target_os, PosixContext)
129
130
131@contextmanager

Callers 1

os_contextFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected