690329:2019 Fixing refactor Correspondence GPT-5.3-Codex #01
This commit is contained in:
@@ -36,3 +36,25 @@ vi.mock('@/lib/api/client', () => ({
|
||||
delete: vi.fn(),
|
||||
},
|
||||
}));
|
||||
|
||||
class ResizeObserverMock {
|
||||
observe() {}
|
||||
|
||||
unobserve() {}
|
||||
|
||||
disconnect() {}
|
||||
}
|
||||
|
||||
vi.stubGlobal('ResizeObserver', ResizeObserverMock);
|
||||
|
||||
if (!Element.prototype.hasPointerCapture) {
|
||||
Element.prototype.hasPointerCapture = () => false;
|
||||
}
|
||||
|
||||
if (!Element.prototype.setPointerCapture) {
|
||||
Element.prototype.setPointerCapture = () => {};
|
||||
}
|
||||
|
||||
if (!Element.prototype.releasePointerCapture) {
|
||||
Element.prototype.releasePointerCapture = () => {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user