| 61 | } |
| 62 | |
| 63 | class FakeStatement implements SQLiteStatement { |
| 64 | constructor(private readonly allFn: () => unknown[]) {} |
| 65 | |
| 66 | run(): unknown { |
| 67 | throw new Error("Unexpected run"); |
| 68 | } |
| 69 | |
| 70 | get(): unknown { |
| 71 | throw new Error("Unexpected get"); |
| 72 | } |
| 73 | |
| 74 | all(): unknown[] { |
| 75 | return this.allFn(); |
| 76 | } |
| 77 | } |
nothing calls this directly
no outgoing calls
no test coverage detected