(name: string, fn: () => Promise<void>)
| 66 | }); |
| 67 | |
| 68 | const itCH = (name: string, fn: () => Promise<void>) => |
| 69 | it(name, async () => { |
| 70 | if (!chReachable) { |
| 71 | console.warn( |
| 72 | '[chart-sql] skipping: ClickHouse not reachable at CLICKHOUSE_URL', |
| 73 | ); |
| 74 | return; |
| 75 | } |
| 76 | await fn(); |
| 77 | }); |
| 78 | |
| 79 | describe('chart.service / getChartSql', () => { |
| 80 | itCH( |
no test coverage detected