mirror of https://github.com/morpheus65535/bazarr
14 lines
473 B
TypeScript
14 lines
473 B
TypeScript
import { render, screen } from "@/tests";
|
|
import { describe, it } from "vitest";
|
|
import Authentication from "./Authentication";
|
|
|
|
describe("Authentication", () => {
|
|
it("should render without crash", () => {
|
|
render(<Authentication></Authentication>);
|
|
|
|
expect(screen.getByPlaceholderText("Username")).toBeDefined();
|
|
expect(screen.getByPlaceholderText("Password")).toBeDefined();
|
|
expect(screen.getByRole("button", { name: "Login" })).toBeDefined();
|
|
});
|
|
});
|