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

Function makeTestWorkspaceLayer

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

Source from the content-addressed store, hash-verified

226 );
227
228export const makeTestWorkspaceLayer = <const TPlugins extends readonly AnyPlugin[] = readonly []>(
229 options?: TestConfigOptions<TPlugins>,
230) =>
231 Layer.effect(TestWorkspace)(
232 makeTestWorkspaceHarness(options).pipe(
233 Effect.tap(({ testDb }) => Effect.promise(() => testDb.warm())),
234 ),
235 );
236
237export const makeTestExecutor = <const TPlugins extends readonly AnyPlugin[] = readonly []>(
238 options?: TestConfigOptions<TPlugins>,

Callers 2

testing.test.tsFile · 0.85

Calls 1

makeTestWorkspaceHarnessFunction · 0.85

Tested by

no test coverage detected