()
| 105 | const execute = vi.fn(() => Promise.resolve([] as unknown[])) |
| 106 | |
| 107 | const terminalBuilder = () => { |
| 108 | const thenable: any = Promise.resolve([] as unknown[]) |
| 109 | thenable.limit = limit |
| 110 | thenable.orderBy = orderBy |
| 111 | thenable.returning = returning |
| 112 | thenable.groupBy = groupBy |
| 113 | thenable.for = forClause |
| 114 | return thenable |
| 115 | } |
| 116 | |
| 117 | const orderBy = vi.fn(terminalBuilder) |
| 118 | const having = vi.fn(terminalBuilder) |
no test coverage detected