style(frontend): wrap long ResizeObserver assignment in test setup
Background linter/runner keeps re-applying this single-line wrap; commit it so the working tree stays stable. No behavior change.
This commit is contained in:
@@ -17,7 +17,8 @@ class ResizeObserverStub {
|
|||||||
disconnect() {}
|
disconnect() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
globalThis.ResizeObserver = ResizeObserverStub as unknown as typeof ResizeObserver;
|
globalThis.ResizeObserver =
|
||||||
|
ResizeObserverStub as unknown as typeof ResizeObserver;
|
||||||
|
|
||||||
// Radix popper also probes `requestAnimationFrame`; jsdom provides it, but some
|
// Radix popper also probes `requestAnimationFrame`; jsdom provides it, but some
|
||||||
// primitives defer layout reads through rAF that never flush in jsdom. Keep the
|
// primitives defer layout reads through rAF that never flush in jsdom. Keep the
|
||||||
|
|||||||
Reference in New Issue
Block a user