(
db: SqliteTestFumaDb,
row: { readonly rowId: string; readonly tenant: string; readonly externalId: string },
)
| 26 | ); |
| 27 | |
| 28 | const insertSubject = ( |
| 29 | db: SqliteTestFumaDb, |
| 30 | row: { readonly rowId: string; readonly tenant: string; readonly externalId: string }, |
| 31 | ): Promise<unknown> => |
| 32 | db.client.execute({ |
| 33 | sql: `INSERT INTO subject (row_id, tenant, external_id, created_at, last_seen_at, status) |
| 34 | VALUES (?, ?, ?, ?, ?, ?)`, |
| 35 | args: [row.rowId, row.tenant, row.externalId, Date.now(), null, null], |
| 36 | }); |
| 37 | |
| 38 | describe("subject table", () => { |
| 39 | it.effect("is created by the runtime schema bring-up", () => |
no test coverage detected