Skip to content

Commit 567ddb0

Browse files
committed
test: move the auth card test under __tests__
Frontend component tests belong in an adjacent __tests__ directory per the repo convention in AGENTS.md, and this file was added directly under src/components in this branch.
1 parent 3b1a2a2 commit 567ddb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/AuthCard.test.tsx renamed to src/components/__tests__/AuthCard.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { render, screen, waitFor, fireEvent } from '@testing-library/react';
33
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
44
import type * as t from '@/types';
55
import { openidLoginFn } from '@/server';
6-
import { AuthCard } from './AuthCard';
6+
import { AuthCard } from '../AuthCard';
77

88
vi.mock('@/server', () => ({
99
adminLoginFn: vi.fn(),

0 commit comments

Comments
 (0)