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

Function program

apps/cloud/src/db/db.test.ts:30–33  ·  view source on GitHub ↗
(body: Effect.Effect<A, E, DbService>)

Source from the content-addressed store, hash-verified

28import { makeUserStore } from "../auth/user-store";
29
30const program = <A, E>(body: Effect.Effect<A, E, DbService>) =>
31 Effect.runPromise(
32 body.pipe(Effect.provide(DbService.Live), Effect.scoped) as Effect.Effect<A, E, never>,
33 );
34
35describe("DbService", () => {
36 it("executes a trivial query end-to-end", async () => {

Callers 2

db.test.tsFile · 0.70
upsertFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected