Skip to content

Commit 519b1ff

Browse files
committed
[IGNORE] fix clickhouse plugin tests
Signed-off-by: Celian GARCIA <celian.garcia@amadeus.com>
1 parent bb41569 commit 519b1ff

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

clickhouse/src/setup-tests.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,14 @@ import '@testing-library/jest-dom/vitest';
1515

1616
// Always mock e-charts during tests since we don't have a proper canvas in jsdom
1717
vi.mock('echarts/core');
18+
19+
if (typeof ResizeObserver === 'undefined') {
20+
vi.stubGlobal(
21+
'ResizeObserver',
22+
class {
23+
observe(): void {}
24+
unobserve(): void {}
25+
disconnect(): void {}
26+
},
27+
);
28+
}

0 commit comments

Comments
 (0)