()
| 16 | function createRowsDb(rows: MockRow[]): DatabaseAdapter { |
| 17 | return { |
| 18 | prepare(): PreparedStatement { |
| 19 | return { |
| 20 | get() { |
| 21 | return undefined |
| 22 | }, |
| 23 | all() { |
| 24 | return rows |
| 25 | }, |
| 26 | run() { |
| 27 | return { changes: 0, lastInsertRowid: 0 } |
| 28 | }, |
| 29 | } |
| 30 | }, |
| 31 | // eslint-disable-next-line @typescript-eslint/no-empty-function |
| 32 | exec() {}, |
| 33 | transaction<T>(fn: () => T) { |
nothing calls this directly
no outgoing calls
no test coverage detected