import React from 'react';
import { render, screen } from '@testing-library/react';
import { Box } from '.';
describe('Box.Container component', () => {
it('should display the content of the component', () => {
render(Hello);
expect(screen.getByText('Hello')).toBeVisible();
});
it('should support role', () => {
render(
Title
Hello
,
);
expect(screen.getByRole('region', { name: 'Title' })).toBeVisible();
});
});