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

Function testEffectShared

packages/opencode/test/lib/effect.ts:146–147  ·  view source on GitHub ↗
(layer: Layer.Layer<R, E>)

Source from the content-addressed store, hash-verified

144// instances Server.Default uses. Use when a test needs pub/sub identity with
145// an in-process HTTP server — most tests should stick with `testEffect`.
146export const testEffectShared = <R, E>(layer: Layer.Layer<R, E>) =>
147 make<R, E>(Layer.provideMerge(layer, testEnv), Layer.provideMerge(layer, liveEnv), sharedRun)
148
149export const awaitWithTimeout = <A, E, R>(
150 self: Effect.Effect<A, E, R>,

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected