fix(editor): UI enhancements and fixes for expression inputs (#8996)
This commit is contained in:
@@ -12,3 +12,10 @@ window.ResizeObserver =
|
||||
}));
|
||||
|
||||
Element.prototype.scrollIntoView = vi.fn();
|
||||
|
||||
Range.prototype.getBoundingClientRect = vi.fn();
|
||||
Range.prototype.getClientRects = vi.fn(() => ({
|
||||
item: vi.fn(),
|
||||
length: 0,
|
||||
[Symbol.iterator]: vi.fn(),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user