()
| 22 | |
| 23 | vi.mock('@sim/db', () => { |
| 24 | const makeChain = () => { |
| 25 | const chain: Record<string, unknown> = {} |
| 26 | chain.from = () => chain |
| 27 | chain.where = () => chain |
| 28 | chain.limit = () => Promise.resolve(queryQueue.value.shift() ?? []) |
| 29 | return chain |
| 30 | } |
| 31 | return { db: { select: () => makeChain() } } |
| 32 | }) |
| 33 |
no test coverage detected