chore: implement tests for dynamic parameter component (#18745)

This commit is contained in:
Jaayden Halko
2025-07-03 13:09:59 -04:00
committed by GitHub
parent 4dcf0c3e7e
commit 90a875d916
2 changed files with 1020 additions and 0 deletions
+6
View File
@@ -40,6 +40,12 @@ jest.mock("contexts/useProxyLatency", () => ({
global.scrollTo = jest.fn();
window.HTMLElement.prototype.scrollIntoView = jest.fn();
// Polyfill pointer capture methods for JSDOM compatibility with Radix UI
window.HTMLElement.prototype.hasPointerCapture = jest
.fn()
.mockReturnValue(false);
window.HTMLElement.prototype.setPointerCapture = jest.fn();
window.HTMLElement.prototype.releasePointerCapture = jest.fn();
window.open = jest.fn();
navigator.sendBeacon = jest.fn();
File diff suppressed because it is too large Load Diff