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
@@ -79,4 +79,13 @@ describe('<NurseResultCard/> component', () => {
fireEvent.click(screen.getByRole('button'));
expect(onSelect).toHaveBeenCalledWith(NURSE);
});
it('exposes a co-located Skeleton twin matching the card shell', () => {
const { container } = render(
<ThemeProvider>
<NurseResultCard.Skeleton />
</ThemeProvider>,
);
expect(container.querySelectorAll('.MuiSkeleton-root').length).toBeGreaterThan(0);
});
});