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

Function makeTestWorkspaceLayer

packages/core/sdk/src/test-config.ts:233–240  ·  view source on GitHub ↗
(
  options?: TestConfigOptions<TPlugins>,
)

Source from the content-addressed store, hash-verified

231 );
232
233export const makeTestWorkspaceLayer = <const TPlugins extends readonly AnyPlugin[] = readonly []>(
234 options?: TestConfigOptions<TPlugins>,
235) =>
236 Layer.effect(TestWorkspace)(
237 makeTestWorkspaceHarness(options).pipe(
238 Effect.tap(({ testDb }) => Effect.promise(() => testDb.warm())),
239 ),
240 );
241
242export const makeTestExecutor = <const TPlugins extends readonly AnyPlugin[] = readonly []>(
243 options?: TestConfigOptions<TPlugins>,

Callers 2

testing.test.tsFile · 0.85

Calls 1

makeTestWorkspaceHarnessFunction · 0.85

Tested by

no test coverage detected