Backend and frontend testing stacks (pytest + vitest) and a few initial tests.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import App from "./App.jsx";
|
||||
|
||||
|
||||
describe("App", () => {
|
||||
it("renders the hero copy", () => {
|
||||
render(<App />);
|
||||
expect(
|
||||
screen.getByText("Find, compare, and book top salons near you.")
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
import "@testing-library/jest-dom";
|
||||
Reference in New Issue
Block a user