You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/frontend/src/pages/errors/errors.test.tsx

23 lines
559 B

import { render } from "@/tests";
import CriticalError from "./CriticalError";
import NotFound from "./NotFound";
import UIError from "./UIError";
describe("Not found page", () => {
it("should display message", () => {
render(<NotFound />);
});
});
describe("Critical error page", () => {
it("should disable error", () => {
render(<CriticalError message="Test error"></CriticalError>);
});
});
describe("UI error page", () => {
it("should disable error", () => {
render(<UIError error={new Error("Test error")}></UIError>);
});
});