import React from 'react';
import { render, screen } from '@testing-library/react';
import { Breakpoint } from './Breakpoint';
describe('Breakpoint', () => {
it('renders correctly', () => {
render(
<>
Visible on mobile
Visible on desktop
>
);
expect(screen.getByText('Visible on desktop')).toBeVisible();
expect(screen.queryByText('Visible on mobile')).not.toBeInTheDocument();
});
});