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

Function makeTestWorkspaceLayer

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

Source from the content-addressed store, hash-verified

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

Callers 2

testing.test.tsFile · 0.85

Calls 1

makeTestWorkspaceHarnessFunction · 0.85

Tested by

no test coverage detected