fix: resolved issue with being unable to scroll up in the input field

This commit is contained in:
Dan Ditomaso
2025-03-06 14:09:47 -05:00
parent 39f26f475b
commit d379769672
15 changed files with 905 additions and 128 deletions
+13 -3
View File
@@ -1,7 +1,17 @@
import "@testing-library/jest-dom";
import { expect, afterEach } from 'vitest';
import { cleanup } from '@testing-library/react';
import * as matchers from "@testing-library/jest-dom/matchers";
globalThis.ResizeObserver = class {
class ResizeObserver {
observe() { }
unobserve() { }
disconnect() { }
};
}
globalThis.ResizeObserver = ResizeObserver;
expect.extend(matchers);
afterEach(() => {
cleanup();
});