/// import React from 'react' import { render, fireEvent } from '@testing-library/react' import { describe, it, expect } from 'vitest' import InputLabel from '../../src/components/InputLabel' describe('InputLabel', () => { it('shows tooltip on hover', () => { const { getByRole, getByText } = render( Label, ) const button = getByRole('button') fireEvent.mouseOver(button) expect(getByText('tip')).toBeInTheDocument() }) })