MCPcopy Index your code
hub / github.com/anomalyco/opencode / run

Function run

packages/core/test/database-migration.test.ts:33–36  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, SqlClientService>)

Source from the content-addressed store, hash-verified

31import { tmpdir } from "./fixture/tmpdir"
32
33const run = <A, E>(effect: Effect.Effect<A, E, SqlClientService>) =>
34 Effect.runPromise(
35 effect.pipe(Effect.provide(SqliteClient.layer({ filename: ":memory:", disableWAL: true })), Effect.scoped),
36 )
37
38const makeDb = EffectDrizzleSqlite.makeWithDefaults()
39

Callers 1

Calls 1

layerMethod · 0.45

Tested by

no test coverage detected