6 lines
283 B
TypeScript
6 lines
283 B
TypeScript
import { vi } from 'vitest'
|
|
|
|
vi.mock('@components/UI/Label.tsx', () => ({
|
|
Label: ({ children, htmlFor, className }: { children: React.ReactNode, htmlFor: string, className?: string }) =>
|
|
<label data-testid="label" htmlFor={htmlFor} className={className}>{children}</label>
|
|
})); |