mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-03 12:05:57 +01:00
13 lines
348 B
TypeScript
13 lines
348 B
TypeScript
import { render, screen } from '@testing-library/react';
|
|
import { Welcome } from './Welcome';
|
|
|
|
describe('Welcome component', () => {
|
|
it('has correct Next.js theming section link', () => {
|
|
render(<Welcome />);
|
|
expect(screen.getByText('this guide')).toHaveAttribute(
|
|
'href',
|
|
'https://mantine.dev/theming/next/'
|
|
);
|
|
});
|
|
});
|