MCPcopy Create free account
hub / github.com/pingdotgg/t3code / testLayer

Function testLayer

apps/server/src/project/ProjectSetupScriptRunner.test.ts:62–69  ·  view source on GitHub ↗
(
  project: OrchestrationProject,
  terminal: Pick<TerminalManager.TerminalManager["Service"], "open" | "write">,
)

Source from the content-addressed store, hash-verified

60 });
61
62const testLayer = (
63 project: OrchestrationProject,
64 terminal: Pick<TerminalManager.TerminalManager["Service"], "open" | "write">,
65) =>
66 ProjectSetupScriptRunner.layer.pipe(
67 Layer.provideMerge(makeProjectionSnapshotQueryLayer(project)),
68 Layer.provideMerge(makeTerminalManagerLayer(terminal)),
69 );
70
71describe("ProjectSetupScriptRunner", () => {
72 it.effect("returns no-script when no setup script exists", () => {

Calls 2

makeTerminalManagerLayerFunction · 0.85

Tested by

no test coverage detected