mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
16 lines
306 B
JavaScript
16 lines
306 B
JavaScript
global.document.createRange = () => ({
|
|
setStart: () => undefined,
|
|
setEnd: () => undefined,
|
|
getBoundingClientRect: () => ({
|
|
left: 0,
|
|
top: 0,
|
|
right: 0,
|
|
bottom: 0,
|
|
}),
|
|
getClientRects: () => [],
|
|
commonAncestorContainer: {
|
|
nodeName: "BODY",
|
|
ownerDocument: document,
|
|
},
|
|
});
|