diff --git a/frontend/src/components/projects/index.ts b/frontend/src/components/projects/index.ts
index c931ecc..d12d717 100644
--- a/frontend/src/components/projects/index.ts
+++ b/frontend/src/components/projects/index.ts
@@ -51,5 +51,11 @@ export type {
} from './wizard';
export type { ProjectCardProps } from './ProjectCard';
-export type { ProjectFiltersProps, ViewMode, SortBy, SortOrder, Complexity } from './ProjectFilters';
+export type {
+ ProjectFiltersProps,
+ ViewMode,
+ SortBy,
+ SortOrder,
+ Complexity,
+} from './ProjectFilters';
export type { ProjectsGridProps } from './ProjectsGrid';
diff --git a/frontend/src/lib/api/hooks/useProjects.ts b/frontend/src/lib/api/hooks/useProjects.ts
index 9cfe72b..38d6d24 100644
--- a/frontend/src/lib/api/hooks/useProjects.ts
+++ b/frontend/src/lib/api/hooks/useProjects.ts
@@ -63,7 +63,8 @@ const mockProjects: ProjectListItem[] = [
{
id: 'proj-001',
name: 'E-Commerce Platform Redesign',
- description: 'Complete redesign of the e-commerce platform with modern UI/UX and improved checkout flow',
+ description:
+ 'Complete redesign of the e-commerce platform with modern UI/UX and improved checkout flow',
status: 'active',
complexity: 'high',
progress: 67,
@@ -78,7 +79,8 @@ const mockProjects: ProjectListItem[] = [
{
id: 'proj-002',
name: 'Mobile Banking App',
- description: 'Native mobile app for banking services with biometric authentication and real-time notifications',
+ description:
+ 'Native mobile app for banking services with biometric authentication and real-time notifications',
status: 'active',
complexity: 'high',
progress: 45,
@@ -93,7 +95,8 @@ const mockProjects: ProjectListItem[] = [
{
id: 'proj-003',
name: 'Internal HR Portal',
- description: 'Employee self-service portal for HR operations including leave requests and performance reviews',
+ description:
+ 'Employee self-service portal for HR operations including leave requests and performance reviews',
status: 'paused',
complexity: 'medium',
progress: 23,
@@ -108,7 +111,8 @@ const mockProjects: ProjectListItem[] = [
{
id: 'proj-004',
name: 'API Gateway Modernization',
- description: 'Migrate legacy API gateway to cloud-native architecture with improved rate limiting and caching',
+ description:
+ 'Migrate legacy API gateway to cloud-native architecture with improved rate limiting and caching',
status: 'active',
complexity: 'high',
progress: 82,
@@ -123,7 +127,8 @@ const mockProjects: ProjectListItem[] = [
{
id: 'proj-005',
name: 'Customer Analytics Dashboard',
- description: 'Real-time analytics dashboard for customer behavior insights with ML-powered predictions',
+ description:
+ 'Real-time analytics dashboard for customer behavior insights with ML-powered predictions',
status: 'completed',
complexity: 'medium',
progress: 100,
diff --git a/frontend/tests/components/agents/AgentTypeForm.test.tsx b/frontend/tests/components/agents/AgentTypeForm.test.tsx
index 6eceea7..3f17d8d 100644
--- a/frontend/tests/components/agents/AgentTypeForm.test.tsx
+++ b/frontend/tests/components/agents/AgentTypeForm.test.tsx
@@ -244,7 +244,9 @@ describe('AgentTypeForm', () => {
await user.click(screen.getByRole('tab', { name: /model/i }));
expect(screen.getByText('Model Selection')).toBeInTheDocument();
- expect(screen.getByText('Choose the AI models that power this agent type')).toBeInTheDocument();
+ expect(
+ screen.getByText('Choose the AI models that power this agent type')
+ ).toBeInTheDocument();
expect(screen.getByLabelText(/primary model/i)).toBeInTheDocument();
expect(screen.getByLabelText(/fallover model/i)).toBeInTheDocument();
});
@@ -496,7 +498,9 @@ describe('AgentTypeForm', () => {
const user = userEvent.setup();
render(
);
- const expertiseInput = screen.getByPlaceholderText(/e.g., system design/i) as HTMLInputElement;
+ const expertiseInput = screen.getByPlaceholderText(
+ /e.g., system design/i
+ ) as HTMLInputElement;
await user.type(expertiseInput, 'new skill');
await user.click(screen.getByRole('button', { name: /^add$/i }));
diff --git a/frontend/tests/components/dashboard/RecentProjects.test.tsx b/frontend/tests/components/dashboard/RecentProjects.test.tsx
index 41936de..c2e3fbe 100644
--- a/frontend/tests/components/dashboard/RecentProjects.test.tsx
+++ b/frontend/tests/components/dashboard/RecentProjects.test.tsx
@@ -113,7 +113,9 @@ describe('RecentProjects', () => {
});
it('applies custom className', () => {
- const { container } = render(
);
+ const { container } = render(
+
+ );
expect(container.firstChild).toHaveClass('custom-class');
});
diff --git a/frontend/tests/components/dashboard/WelcomeHeader.test.tsx b/frontend/tests/components/dashboard/WelcomeHeader.test.tsx
index 48afa82..33d8268 100644
--- a/frontend/tests/components/dashboard/WelcomeHeader.test.tsx
+++ b/frontend/tests/components/dashboard/WelcomeHeader.test.tsx
@@ -27,7 +27,14 @@ describe('WelcomeHeader', () => {
it('displays greeting with user first name', () => {
mockUseAuth.mockReturnValue({
- user: { id: '1', email: 'john@example.com', first_name: 'John', is_active: true, is_superuser: false, created_at: '' },
+ user: {
+ id: '1',
+ email: 'john@example.com',
+ first_name: 'John',
+ is_active: true,
+ is_superuser: false,
+ created_at: '',
+ },
isAuthenticated: true,
isLoading: false,
error: null,
@@ -44,7 +51,14 @@ describe('WelcomeHeader', () => {
it('falls back to email prefix when first_name is empty', () => {
mockUseAuth.mockReturnValue({
- user: { id: '1', email: 'jane@example.com', first_name: '', is_active: true, is_superuser: false, created_at: '' },
+ user: {
+ id: '1',
+ email: 'jane@example.com',
+ first_name: '',
+ is_active: true,
+ is_superuser: false,
+ created_at: '',
+ },
isAuthenticated: true,
isLoading: false,
error: null,
@@ -78,7 +92,14 @@ describe('WelcomeHeader', () => {
it('displays subtitle text', () => {
mockUseAuth.mockReturnValue({
- user: { id: '1', email: 'test@example.com', first_name: 'Test', is_active: true, is_superuser: false, created_at: '' },
+ user: {
+ id: '1',
+ email: 'test@example.com',
+ first_name: 'Test',
+ is_active: true,
+ is_superuser: false,
+ created_at: '',
+ },
isAuthenticated: true,
isLoading: false,
error: null,
@@ -95,7 +116,14 @@ describe('WelcomeHeader', () => {
it('displays Create Project button', () => {
mockUseAuth.mockReturnValue({
- user: { id: '1', email: 'test@example.com', first_name: 'Test', is_active: true, is_superuser: false, created_at: '' },
+ user: {
+ id: '1',
+ email: 'test@example.com',
+ first_name: 'Test',
+ is_active: true,
+ is_superuser: false,
+ created_at: '',
+ },
isAuthenticated: true,
isLoading: false,
error: null,
diff --git a/frontend/tests/components/projects/ProjectCard.test.tsx b/frontend/tests/components/projects/ProjectCard.test.tsx
index cc524b1..8243382 100644
--- a/frontend/tests/components/projects/ProjectCard.test.tsx
+++ b/frontend/tests/components/projects/ProjectCard.test.tsx
@@ -78,7 +78,7 @@ describe('ProjectCard', () => {
// Menu button should exist with sr-only text
const menuButtons = screen.getAllByRole('button');
- const menuButton = menuButtons.find(btn => btn.querySelector('.sr-only'));
+ const menuButton = menuButtons.find((btn) => btn.querySelector('.sr-only'));
expect(menuButton).toBeDefined();
expect(menuButton!.querySelector('.sr-only')).toHaveTextContent('Project actions');
});
diff --git a/frontend/tests/components/projects/ProjectsGrid.test.tsx b/frontend/tests/components/projects/ProjectsGrid.test.tsx
index 1d8d56d..25afa7c 100644
--- a/frontend/tests/components/projects/ProjectsGrid.test.tsx
+++ b/frontend/tests/components/projects/ProjectsGrid.test.tsx
@@ -98,9 +98,7 @@ describe('ProjectsGrid', () => {
});
it('applies custom className', () => {
- const { container } = render(
-
- );
+ const { container } = render(
);
expect(container.firstChild).toHaveClass('custom-class');
});