MCPcopy
hub / github.com/anomalyco/opencode / withStandardProject

Function withStandardProject

packages/opencode/test/server/httpapi-sdk.test.ts:244–249  ·  view source on GitHub ↗
(
  serverPath: ServerPath,
  run: (input: ProjectFixture) => Effect.Effect<A, E, TestScope>,
)

Source from the content-addressed store, hash-verified

242}
243
244function withStandardProject<A, E>(
245 serverPath: ServerPath,
246 run: (input: ProjectFixture) => Effect.Effect<A, E, TestScope>,
247) {
248 return withProject(serverPath, { setup: writeStandardFiles }, run)
249}
250
251function withFakeLlm<A, E>(serverPath: ServerPath, run: (input: LlmProjectFixture) => Effect.Effect<A, E, TestScope>) {
252 return Effect.gen(function* () {

Callers 1

Calls 1

withProjectFunction · 0.70

Tested by

no test coverage detected