mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-10 04:22:01 +10:00
15 lines
409 B
TypeScript
15 lines
409 B
TypeScript
import { render, screen, tests } from '@/test-utils';
|
|
import { Welcome } from './Welcome';
|
|
|
|
describe('Welcome component', () => {
|
|
tests.itSupportsClassName({ component: Welcome, props: {} });
|
|
|
|
it('has correct Next.js theming section link', () => {
|
|
render(<Welcome />);
|
|
expect(screen.getByText('this guide')).toHaveAttribute(
|
|
'href',
|
|
'https://mantine.dev/guides/next/'
|
|
);
|
|
});
|
|
});
|