import { describe, it, expect } from 'vitest'; import { render, screen } from '@testing-library/react'; import { Input } from './input'; describe('Test Input Component', () => { it('renders the input with placeholder text', () => { render(); expect(screen.getByPlaceholderText('Placeholder')).toBeInTheDocument(); }); it("disables the input field when 'disabled' prop is set", () => { render(); expect(screen.getByRole('textbox')).toBeDisabled(); }); });