mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-01 20:29:17 +01:00
17 lines
337 B
TypeScript
17 lines
337 B
TypeScript
import { expect, test, vi } from "vitest";
|
|
|
|
import { openApiDocument } from "../open-api";
|
|
|
|
vi.mock("@homarr/auth", () => ({}));
|
|
|
|
test("OpenAPI documentation should be generated", () => {
|
|
// Arrange
|
|
const base = "https://homarr.dev";
|
|
|
|
// Act
|
|
const act = () => openApiDocument(base);
|
|
|
|
// Assert
|
|
expect(act).not.toThrow();
|
|
});
|