MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / itCH

Function itCH

packages/db/src/services/chart-sql.test.ts:68–77  ·  view source on GitHub ↗
(name: string, fn: () => Promise<void>)

Source from the content-addressed store, hash-verified

66});
67
68const 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
79describe('chart.service / getChartSql', () => {
80 itCH(

Callers 1

chart-sql.test.tsFile · 0.85

Calls 2

fnFunction · 0.85
warnMethod · 0.45

Tested by

no test coverage detected