mirror of
https://github.com/gethomepage/homepage.git
synced 2026-03-14 22:00:14 -04:00
14 lines
402 B
JavaScript
14 lines
402 B
JavaScript
import { describe, expect, it } from "vitest";
|
|
|
|
import { expectWidgetConfigShape } from "test-utils/widget-config";
|
|
|
|
import widget from "./widget";
|
|
|
|
describe("immich widget config", () => {
|
|
it("exports a valid widget config", () => {
|
|
expectWidgetConfigShape(widget);
|
|
expect(widget.api).toContain("/api/");
|
|
expect(widget.mappings?.version?.endpoint).toBe("server-info/version");
|
|
});
|
|
});
|