import { render, screen } from '@testing-library/react' import * as React from 'react' import { CategoryEnum } from '.' import Footer from './footer' vi.mock('next/link', () => ({ default: ({ children, href, className, target }: { children: React.ReactNode, href: string, className?: string, target?: string }) => ( {children} ), })) describe('Footer', () => { beforeEach(() => { vi.clearAllMocks() }) // Rendering behavior describe('Rendering', () => { it('should render tax tips and comparison link when in cloud category', () => { // Arrange render(