mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-19 16:40:35 +03:00
improve repo structure
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { test, expect } from 'vitest';
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import { OverlayScrollbarsComponent } from '~/overlayscrollbars-react';
|
||||
|
||||
test('renders learn react link', () => {
|
||||
render(<OverlayScrollbarsComponent msg="hi" />);
|
||||
const linkElement = screen.getByText(/learn react/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
||||
Reference in New Issue
Block a user