feat(editor): Implement new app layout (#10548)

This commit is contained in:
Milorad FIlipović
2024-08-28 14:01:05 +02:00
committed by GitHub
parent d7241cfc3a
commit 95a9cd2c73
32 changed files with 316 additions and 153 deletions

View File

@@ -4,7 +4,7 @@ import {
UPDATED_SCHEMA,
} from './utils/ResourceMapper.utils';
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
import { waitAllPromises } from '@/__tests__/utils';
import { cleanupAppModals, createAppModals, waitAllPromises } from '@/__tests__/utils';
import ResourceMapper from '@/components/ResourceMapper/ResourceMapper.vue';
import userEvent from '@testing-library/user-event';
import { createComponentRenderer } from '@/__tests__/render';
@@ -23,8 +23,13 @@ describe('ResourceMapper.vue', () => {
.mockResolvedValue(MAPPING_COLUMNS_RESPONSE);
});
beforeEach(() => {
createAppModals();
});
afterEach(() => {
vi.clearAllMocks();
cleanupAppModals();
});
it('renders default configuration properly', async () => {