(existingUndeployIds: string[] = [])
| 82 | } |
| 83 | |
| 84 | function setTx(existingUndeployIds: string[] = []) { |
| 85 | vi.mocked(db.transaction).mockImplementation( |
| 86 | async (cb: (tx: unknown) => unknown) => cb(makeTx(existingUndeployIds)) as never |
| 87 | ) |
| 88 | } |
| 89 | |
| 90 | function makeRun(overrides: Partial<Record<string, unknown>> = {}) { |
| 91 | return { |
no test coverage detected