import { render } from '@testing-library/react';
import { ThemeProvider } from '../../../theme';
import AppLoading from './AppLoading';
describe('', () => {
it('renders a status region with the brand mark', () => {
const { container } = render(
,
);
expect(container.querySelector('[role="status"]')).toBeInTheDocument();
expect(container.querySelector('[data-icon="logo"]')).toBeInTheDocument();
});
it('forwards sx overrides to the root', () => {
const { container } = render(
,
);
expect(container.querySelector('[data-testid="loading-root"]')).toBeInTheDocument();
});
});