Refactor Site Builder Integration and Update Component Structure
- Removed the separate `igny8_sites` service from Docker Compose, integrating its functionality into the main app. - Updated the Site Builder components to enhance user experience, including improved loading states and error handling. - Refactored routing and navigation in the Site Builder Wizard and Preview components for better clarity and usability. - Adjusted test files to reflect changes in import paths and ensure compatibility with the new structure.
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
*/
|
||||
import { describe, it, expect, vi, beforeEach } from 'vitest';
|
||||
import { render, screen, fireEvent, waitFor } from '@testing-library/react';
|
||||
import { builderApi } from '../../../site-builder/src/api/builder.api';
|
||||
import { builderApi } from '../../../services/siteBuilder.api';
|
||||
|
||||
// Mock API
|
||||
vi.mock('../../../site-builder/src/api/builder.api');
|
||||
vi.mock('../../../services/siteBuilder.api');
|
||||
|
||||
describe('Bulk Generation', () => {
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user