mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-18 12:10:38 +03:00
improve repo structure
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
import React from "react";
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { OverlayScrollbarsComponents } from "../src/overlayscrollbars-react";
|
||||
|
||||
test("renders learn react link", () => {
|
||||
render(<OverlayScrollbarsComponents msg="hi" />);
|
||||
const linkElement = screen.getByText(/learn react/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
||||
@@ -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