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

Function writeFixture

e2e/cli/custom-tools-packed.test.ts:132–140  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

130`;
131
132const writeFixture = async (path: string): Promise<void> => {
133 const result = await ssh(
134 guestOs() === "windows" ? windowsFixtureCommand(path) : unixFixtureCommand(path),
135 );
136 expect(
137 result.code,
138 `fixture is written into the guest\nstdout:\n${result.stdout}\nstderr:\n${result.stderr}`,
139 ).toBe(0);
140};
141
142const removeFixture = (path: string): Effect.Effect<void> =>
143 Effect.promise(() =>

Callers 1

Calls 4

windowsFixtureCommandFunction · 0.85
unixFixtureCommandFunction · 0.85
sshFunction · 0.70
guestOsFunction · 0.70

Tested by

no test coverage detected