aotds-docks/src/routes/page.test.js

10 lines
281 B
JavaScript
Raw Normal View History

2023-04-14 18:29:20 +00:00
import { render, fireEvent, screen, getByText } from "@testing-library/svelte";
import "@testing-library/jest-dom";
import Page from "./+page.svelte";
test("we have a page", () => {
const { getByText } = render(Page);
expect(getByText("propulsion")).toBeInTheDocument();
});