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

Function makeTestWorkspaceLayer

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

Source from the content-addressed store, hash-verified

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

Callers 2

testing.test.tsFile · 0.85

Calls 1

makeTestWorkspaceHarnessFunction · 0.85

Tested by

no test coverage detected