(id: SessionV2.ID)
| 292 | const otherSessionID = SessionV2.ID.make("ses_runner_other") |
| 293 | |
| 294 | const insertSession = (id: SessionV2.ID) => |
| 295 | Effect.gen(function* () { |
| 296 | const { db } = yield* Database.Service |
| 297 | yield* db |
| 298 | .insert(SessionTable) |
| 299 | .values({ |
| 300 | id, |
| 301 | project_id: Project.ID.global, |
| 302 | slug: id, |
| 303 | directory: "/project", |
| 304 | title: "test", |
| 305 | version: "test", |
| 306 | }) |
| 307 | .onConflictDoNothing() |
| 308 | .run() |
| 309 | .pipe(Effect.orDie) |
| 310 | }) |
| 311 | |
| 312 | const setup = Effect.gen(function* () { |
| 313 | const { db } = yield* Database.Service |
no test coverage detected