import { render, screen } from "@/tests"; import { Text } from "@mantine/core"; import { describe, it } from "vitest"; import Layout from "./Layout"; describe("Settings layout", () => { it.concurrent("should be able to render without issues", () => { render( Value ); }); it.concurrent("save button should be disabled by default", () => { render( Value ); expect(screen.getByRole("button", { name: "Save" })).toBeDisabled(); }); });