0.2.0 • Published 3 years ago
@bercow/spawn v0.2.0
@bercow/spawn
Test plugin for the bercow test runner which spawns a child process.
command <string>Name/Path of the program to spawn.command-platform <string>Whereplatformis any value returned bynode:os.platform()-- eg:command-win32for windows. Name of the program to spawn on a specific platform. If present, takes precedence overcommand.argv <string[]>Program argument array. Default["$TEST"]. Recognized variables:$ABSOLUTE_MAIN_PATH$ABSOLUTE_TEST_PATH$RELATIVE_MAIN_PATH$RELATIVE_TEST_PATH$MAINalias for$ABSOLUTE_MAIN_PATH$TESTalias for$ABSOLUTE_TEST_PATH
options <Object>Options to provide tochild_process.spawn. Default{}.