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

Function makeTestWorkspaceLayer

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

Source from the content-addressed store, hash-verified

215 );
216
217export const makeTestWorkspaceLayer = <const TPlugins extends readonly AnyPlugin[] = readonly []>(
218 options?: TestConfigOptions<TPlugins>,
219) =>
220 Layer.effect(TestWorkspace)(
221 makeTestWorkspaceHarness(options).pipe(
222 Effect.tap(({ testDb }) => Effect.promise(() => testDb.warm())),
223 ),
224 );
225
226export const makeTestExecutor = <const TPlugins extends readonly AnyPlugin[] = readonly []>(
227 options?: TestConfigOptions<TPlugins>,

Callers 2

testing.test.tsFile · 0.85

Calls 1

makeTestWorkspaceHarnessFunction · 0.85

Tested by

no test coverage detected