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

Function makeTestWorkspaceLayer

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

Source from the content-addressed store, hash-verified

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

Callers 2

testing.test.tsFile · 0.85

Calls 1

makeTestWorkspaceHarnessFunction · 0.85

Tested by

no test coverage detected