mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-16 07:50:37 +03:00
add overlayscrollbars-react package
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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();
|
||||
});
|
||||
Reference in New Issue
Block a user