fix: TypeScript build errors in frontend pipeline
Some checks failed
CI/CD Pipeline / backend-build (push) Successful in 2m41s
CI/CD Pipeline / frontend-build (push) Successful in 58s
CI/CD Pipeline / docker-build (push) Failing after 28s

- Remove unused ReactNode import in useAuth.test.tsx
- Use vitest/config for defineConfig to recognize test property
- Add vitest/globals to tsconfig types for test runner globals
This commit is contained in:
2026-04-01 20:17:56 -03:00
parent 653d3e7670
commit caf6d492ca
3 changed files with 2 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
import { render, screen } from '@testing-library/react';
import { AuthProvider } from '../useAuth';
import { useAuth } from '../useAuth';
import { ReactNode } from 'react';
// Test component that uses useAuth hook
const TestComponent = () => {