feat: Add more base component to UI
This commit is contained in:
116 files changed
+10379
-3473
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
import { Link } from './Link';
|
||||
import { render, screen } from '../../../test-utils';
|
||||
import { render, screen } from '../../test-utils';
|
||||
|
||||
describe('components/generic/Link', () => {
|
||||
describe('components/Link', () => {
|
||||
it('renders correctly as a link when href is provided', () => {
|
||||
render(<Link href="https://example.com">Click me</Link>);
|
||||
const link = screen.getByRole('link', { name: 'Click me' });
|
||||
|
||||
Reference in new issue
Block a user