fix: eslint disable-next-line for required any casts (NextAuth v4 limitation)
This commit is contained in:
@@ -22,6 +22,7 @@ import { checkRateLimit, recordFailedAttempt, clearAttempts } from '@/lib/rate-l
|
||||
const mockFindUnique = prisma.user.findUnique as jest.Mock
|
||||
|
||||
describe('NextAuth authorize', () => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const authorize = (authOptions.providers[0] as any).options.authorize
|
||||
|
||||
beforeEach(() => jest.clearAllMocks())
|
||||
|
||||
Reference in New Issue
Block a user