dvijaykrishnan's picture
Deployment fix for HF
ceb943f
Raw
History Blame Contribute Delete
667 Bytes
import { describe, it, expect } from 'vitest';
import { auth } from '../auth';
import { authClient } from '../auth-client';
// Mock better-auth if needed, but for now checking exports
describe('Auth Configuration', () => {
it('should export auth instance', () => {
expect(auth).toBeDefined();
// Check for api property which typical better-auth instance has
expect(auth.api).toBeDefined();
});
it('should export auth client', () => {
expect(authClient).toBeDefined();
// Check for signIn/signUp methods
expect(authClient.signIn).toBeDefined();
expect(authClient.signUp).toBeDefined();
});
});