mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
refactor(editor): Migrate ui.store to use composition API (no-changelog) (#9892)
This commit is contained in:
@@ -8,7 +8,9 @@ import { useTelemetry } from '@/composables/useTelemetry';
|
||||
|
||||
vi.mock('@/stores/ui.store', () => ({
|
||||
useUIStore: vi.fn().mockReturnValue({
|
||||
isModalOpen: vi.fn().mockReturnValue(() => true),
|
||||
modalsById: vi.fn().mockReturnValue(() => {
|
||||
open: true;
|
||||
}),
|
||||
closeModal: vi.fn(),
|
||||
}),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user