diff --git a/backend/src/modules/auth/guards/jwt-auth.guard.spec.ts b/backend/src/modules/auth/guards/jwt-auth.guard.spec.ts index c0f5893..7d8328e 100644 --- a/backend/src/modules/auth/guards/jwt-auth.guard.spec.ts +++ b/backend/src/modules/auth/guards/jwt-auth.guard.spec.ts @@ -3,19 +3,6 @@ import { Reflector } from '@nestjs/core'; import { JwtAuthGuard } from './jwt-auth.guard'; import { IS_PUBLIC_KEY } from '../decorators/public.decorator'; -// Mock the AuthGuard -jest.mock('@nestjs/passport', () => { - return { - AuthGuard: jest.fn().mockImplementation(() => { - return class { - canActivate() { - return true; - } - }; - }), - }; -}); - describe('JwtAuthGuard', () => { let guard: JwtAuthGuard; let reflector: Reflector;