import { cleanup, render, screen } from "@testing-library/react";
import { afterEach, describe, test } from "vitest";
import { {{capitalize componentName}} } from "./{{kebabCase componentName}}";

describe.concurrent("{{kebabCase componentName}}", () => {
	afterEach(cleanup);

	test("Dummy test - test if renders without errors", ({ expect }) => {
		const clx = "my-class";
		render(<{{capitalize componentName}} className={clx} />);
		expect(screen.getByTestId("{{kebabCase componentName}}").classList).toContain(clx);
	});
});
