(name: 'Alice' | 'Bob' | 'Cara', ts: string, type: number, content: string)
| 51 | VALUES (?, ?, ?, ?, ?, ?, ?)` |
| 52 | ) |
| 53 | const add = (name: 'Alice' | 'Bob' | 'Cara', ts: string, type: number, content: string) => { |
| 54 | const id = memberId.get(name) |
| 55 | assert.ok(id, `missing member id for ${name}`) |
| 56 | insertMessage.run(id, `${name} Account`, name, unixTs(ts), type, content, `${name}-${ts}`) |
| 57 | } |
| 58 | |
| 59 | add('Alice', '2026-06-01T09:00:00Z', 0, 'morning hello') |
| 60 | add('Alice', '2026-06-01T10:00:00Z', 0, 'standup note') |
no test coverage detected