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

Function makeTestWorkspaceLayer

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

Source from the content-addressed store, hash-verified

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

Callers 2

testing.test.tsFile · 0.85

Calls 1

makeTestWorkspaceHarnessFunction · 0.85

Tested by

no test coverage detected