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

Function makeTestWorkspaceLayer

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

Source from the content-addressed store, hash-verified

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

Callers 2

testing.test.tsFile · 0.85

Calls 1

makeTestWorkspaceHarnessFunction · 0.85

Tested by

no test coverage detected