MCPcopy Index your code
hub / github.com/nodejs/node / Cmd

Function Cmd

deps/v8/tools/release/test_scripts.py:97–105  ·  view source on GitHub ↗

Convenience function returning a shell command test expectation.

(*args, **kwargs)

Source from the content-addressed store, hash-verified

95
96
97def Cmd(*args, **kwargs):
98 """Convenience function returning a shell command test expectation."""
99 return {
100 "name": "command",
101 "args": args,
102 "ret": args[-1],
103 "cb": kwargs.get("cb"),
104 "cwd": kwargs.get("cwd", TEST_CONFIG["DEFAULT_CWD"]),
105 }
106
107
108def RL(text, cb=None):

Callers 13

testGitMockMethod · 0.85
testTagTimeoutMethod · 0.85
testIncrementVersionMethod · 0.85
testBootstrapperMethod · 0.85
testCreateReleaseMethod · 0.85
testAutoPushMethod · 0.85
testRollMergeMethod · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected