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

Function testEffect

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

Source from the content-addressed store, hash-verified

137export const it = make<never, never>(testEnv, liveEnv)
138
139export const testEffect = <R, E>(layer: Layer.Layer<R, E>) =>
140 make<R, E>(Layer.provideMerge(layer, testEnv), Layer.provideMerge(layer, liveEnv))
141
142// Variant of `testEffect` that builds the test layer through the shared
143// process-wide memoMap so services like Bus/Session resolve to the same

Callers 15

workspace.test.tsFile · 0.90
index.test.tsFile · 0.90
lifecycle.test.tsFile · 0.90
trigger.test.tsFile · 0.90
image.test.tsFile · 0.90
auth.test.tsFile · 0.90
instance.test.tsFile · 0.90

Calls 1

makeFunction · 0.70

Tested by 3

failureItFunction · 0.72
configItFunction · 0.72
configuredItFunction · 0.72