Skip to content

Commit 4c58ca0

Browse files
committed
fix: remove unused imports in test files
Remove unused useClients import and mockPaymentDetailQuery variable to fix lint errors.
1 parent 32ae109 commit 4c58ca0

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

frontend/src/features/parties/pages/tabs/associations-tab.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ vi.mock('@/hooks/use-tenant-context', () => ({
2828
useClearTenant: () => vi.fn(),
2929
}))
3030

31-
import { useClients, useApiClients } from '@/api/context'
31+
import { useApiClients } from '@/api/context'
3232
import { AssociationsTab } from './associations-tab'
3333

3434
function makeQueryClient() {

frontend/src/features/payments/pages/payment-detail.test.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { TooltipProvider } from '@/components/ui/tooltip'
77
import { AuthProvider } from '@/contexts/auth-context'
88
import { TenantProvider } from '@/contexts/tenant-context'
99
// Mock the payment detail hook
10-
const mockPaymentDetailQuery = vi.fn()
11-
1210
vi.mock('../hooks', () => ({
1311
usePaymentDetail: vi.fn(() => ({
1412
data: null,

0 commit comments

Comments
 (0)