mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-08-23 17:44:52 +02:00
- Updated to React 18
- Updated for public release - Git was reset for privacy reasons
This commit is contained in:
10
src/features/home/Home.spec.tsx
Normal file
10
src/features/home/Home.spec.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { HomeContainer } from "./Home";
|
||||
|
||||
describe("Home component", () => {
|
||||
it("renders learn react link", () => {
|
||||
render(<HomeContainer />);
|
||||
|
||||
expect(screen.getByText(/learn/i)).toBeInTheDocument();
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user