12 lines
428 B
TypeScript
12 lines
428 B
TypeScript
import { render, screen } from "@testing-library/svelte";
|
|
import { describe, expect, it } from "vitest";
|
|
import SettingsRowTest from "./SettingsRowTest.svelte";
|
|
|
|
describe("SettingsRow.svelte", () => {
|
|
it("should render without crashing", () => {
|
|
render(SettingsRowTest);
|
|
expect(screen.getByText("Test Label")).toBeInTheDocument();
|
|
expect(screen.getByTestId("test-input")).toBeInTheDocument();
|
|
});
|
|
});
|