refactor(editor): RunData components to composition API (no-changelog) (#11545)

This commit is contained in:
Elias Meire
2024-11-07 15:29:02 +01:00
committed by GitHub
parent 28ad66cc12
commit 6e2809b490
13 changed files with 2044 additions and 2070 deletions

View File

@@ -16,6 +16,14 @@ import { setupServer } from '@/__tests__/server';
import { defaultNodeDescriptions, mockNodes } from '@/__tests__/mocks';
import { cleanupAppModals, createAppModals } from '@/__tests__/utils';
vi.mock('vue-router', () => {
return {
useRouter: () => ({}),
useRoute: () => ({ meta: {} }),
RouterLink: vi.fn(),
};
});
async function createPiniaWithActiveNode() {
const node = mockNodes[0];
const workflow = mock<IWorkflowDb>({