mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +00:00
feat(settings,admin): every tab and popup in the planner's design
This commit is contained in:
@@ -18,9 +18,9 @@ describe('AdminStatCard', () => {
|
||||
expect(screen.getByText('0')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('FE-ADMSTAT-003: renders the passed icon component with the card icon classes', () => {
|
||||
it('FE-ADMSTAT-003: renders the passed icon component in the card', () => {
|
||||
const { container } = render(<AdminStatCard label="Trips" value={7} icon={Users} />);
|
||||
|
||||
expect(container.querySelector('svg.w-5.h-5.text-content')).toBeInTheDocument();
|
||||
expect(container.querySelector('svg.lucide-users')).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user