add test
This commit is contained in:
parent
f9228916f3
commit
9a37720c86
10
src/lib/components/Header.test.js
Normal file
10
src/lib/components/Header.test.js
Normal file
@ -0,0 +1,10 @@
|
||||
import { test, expect } from "vitest";
|
||||
import { render } from "@testing-library/svelte";
|
||||
|
||||
import App from "./Header.svelte";
|
||||
|
||||
test("reset ship link is present", () => {
|
||||
const { queryByText } = render(App);
|
||||
|
||||
expect(queryByText("reset ship")).toBeTruthy();
|
||||
});
|
Loading…
Reference in New Issue
Block a user