MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / writeFixture

Function writeFixture

e2e/desktop-vm/custom-tools-sidecar.test.ts:105–111  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

103`;
104
105const writeFixture = async (path: string): Promise<void> => {
106 const result = await ssh(writeFixtureCommand(path));
107 expect(
108 result.code,
109 `fixture is written into the desktop guest\nstdout:\n${result.stdout}\nstderr:\n${result.stderr}`,
110 ).toBe(0);
111};
112
113const removeFixture = (path: string): Effect.Effect<void> =>
114 Effect.promise(() => ssh(`rm -rf '${path}'`).then(() => undefined)).pipe(Effect.ignore);

Callers 1

Calls 2

writeFixtureCommandFunction · 0.85
sshFunction · 0.70

Tested by

no test coverage detected