MCPcopy Create free account
hub / github.com/anomalyco/opencode / node

Function node

packages/opencode/test/util/process.test.ts:7–9  ·  view source on GitHub ↗
(script: string)

Source from the content-addressed store, hash-verified

5import { tmpdir } from "../fixture/fixture"
6
7function node(script: string) {
8 return [process.execPath, "-e", script]
9}
10
11describe("util.process", () => {
12 test("captures stdout and stderr", async () => {

Callers 1

process.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected