fix: improve asset editor exit handling (#25917)

This commit is contained in:
Michel Heusschen
2026-02-05 12:01:54 +01:00
committed by GitHub
parent 732303661b
commit fdf06a91cc
5 changed files with 54 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
import { vi } from 'vitest';
export const getResizeObserverMock = () =>
vi.fn(() => ({
disconnect: vi.fn(),
observe: vi.fn(),
unobserve: vi.fn(),
}));