ui phase 1

This commit is contained in:
hamid
2026-07-17 17:10:39 +03:30
parent f1cba6cf74
commit 370c1beefa
151 changed files with 4254 additions and 1840 deletions
@@ -0,0 +1,24 @@
import { render } from '@testing-library/react';
import { ThemeProvider } from '../../../theme';
import AppLoading from './AppLoading';
describe('<AppLoading/>', () => {
it('renders a status region with the brand mark', () => {
const { container } = render(
<ThemeProvider>
<AppLoading />
</ThemeProvider>,
);
expect(container.querySelector('[role="status"]')).toBeInTheDocument();
expect(container.querySelector('[data-icon="logo"]')).toBeInTheDocument();
});
it('forwards sx overrides to the root', () => {
const { container } = render(
<ThemeProvider>
<AppLoading data-testid="loading-root" />
</ThemeProvider>,
);
expect(container.querySelector('[data-testid="loading-root"]')).toBeInTheDocument();
});
});