mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-09 20:12:02 +10:00
13 lines
337 B
TypeScript
13 lines
337 B
TypeScript
import { render, screen } from '@/test-utils';
|
|
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/guides/next/'
|
|
);
|
|
});
|
|
});
|