fix: update GridlerStore setState type to accept full state values

fix: change defaultItems type in GlidlerFormAdaptor to use MantineBetterMenuInstanceItem[]

test: update global ResizeObserver and IntersectionObserver mocks to use globalThis

build: change moduleResolution to 'bundler' in tsconfig.app.json

build: add missing newline at end of file in tsconfig.node.json
This commit is contained in:
2026-01-28 21:04:51 +02:00
parent c4f0fcc233
commit 9414421430
8 changed files with 621 additions and 575 deletions

View File

@@ -17,14 +17,14 @@ Object.defineProperty(window, 'matchMedia', {
})
// Mock ResizeObserver
global.ResizeObserver = vi.fn().mockImplementation(() => ({
globalThis.ResizeObserver = vi.fn().mockImplementation(() => ({
disconnect: vi.fn(),
observe: vi.fn(),
unobserve: vi.fn(),
}))
// Mock IntersectionObserver
global.IntersectionObserver = vi.fn().mockImplementation(() => ({
globalThis.IntersectionObserver = vi.fn().mockImplementation(() => ({
disconnect: vi.fn(),
observe: vi.fn(),
unobserve: vi.fn(),